All pastes #707671 Raw Edit

map

public text v1 · immutable
#707671 ·published 2007-09-23 04:51 UTC
rendered paste body
#ifndef MAP_H
#define MAP_H

#include "weapon.h"
#include "monster.h"
#include <string>

class map
{
      public:
             //constructor
             map();
             
             //methods
             int getplayerx();
             int getplayery();
             void moveplayer();
             monster* checkrandomencounter();
             void printplayerpos();
             
      private:
              //members
              int playerx;
              int playery;
};

#endif