diff options
Diffstat (limited to 'GameWorld.hpp')
-rw-r--r-- | GameWorld.hpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/GameWorld.hpp b/GameWorld.hpp new file mode 100644 index 0000000..c252bf2 --- /dev/null +++ b/GameWorld.hpp @@ -0,0 +1,17 @@ +#ifndef ASCIIROAD_GAMEWORLD_H +#define ASCIIROAD_GAMEWORLD_H + +class GameWorld { + char **world; + int w_y, w_x; +public: + GameWorld(int a_y, int a_x); + ~GameWorld(); + + bool Draw(const struct object_info *obj, int y, int x, + bool replace); + void RedrawCh(int y, int x); + void Update(); +}; + +#endif /* ASCIIROAD_GAMEWORLD_H */ |