You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
282 B
23 lines
282 B
13 years ago
|
#ifndef GAME_H
|
||
|
#define GAME_H
|
||
|
|
||
|
#include <global.h>
|
||
|
#include "map.h"
|
||
|
#include "player.h"
|
||
|
|
||
|
class Game
|
||
|
{
|
||
|
public:
|
||
|
Map *getMap() { return &m_map; }
|
||
|
Player *getPlayer() { return &m_player; }
|
||
|
|
||
|
private:
|
||
|
Map m_map;
|
||
|
Player m_player;
|
||
|
|
||
|
};
|
||
|
|
||
|
extern Game g_game;
|
||
|
|
||
|
#endif // GAME_H
|