map
public text v1 · immutable#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