diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-06-14 14:24:28 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-06-14 14:24:28 +0000 |
commit | d283db70abe904fddd8aefbd52b35d6e066dd98f (patch) | |
tree | 7bd24c75dd65872270a4b4a859c38020d82ba451 /src/engine.h | |
parent | d7904f7b7e25bbdd7205e5c18e06d184b2078732 (diff) | |
download | mana-d283db70abe904fddd8aefbd52b35d6e066dd98f.tar.gz mana-d283db70abe904fddd8aefbd52b35d6e066dd98f.tar.bz2 mana-d283db70abe904fddd8aefbd52b35d6e066dd98f.tar.xz mana-d283db70abe904fddd8aefbd52b35d6e066dd98f.zip |
Added background to minimap. Only used in Tonori Desert map for now, and its
style is up for discussion.
Diffstat (limited to 'src/engine.h')
-rw-r--r-- | src/engine.h | 34 |
1 files changed, 30 insertions, 4 deletions
diff --git a/src/engine.h b/src/engine.h index 48015b89..f5b24869 100644 --- a/src/engine.h +++ b/src/engine.h @@ -81,16 +81,42 @@ char get_y_offset(char, char); /** * Game engine that does the main drawing. */ -class Engine { - private: - Spriteset *emotionset, *npcset, *weaponset, *itemset; - +class Engine +{ public: + /** + * Constructor. + */ Engine(); + + /** + * Destructor. + */ ~Engine(); + /** + * Returns the currently active map. + */ + Map *getCurrentMap(); + + /** + * Sets the currently active map. + */ + void setCurrentMap(Map *newMap); + + /** + * Performs engine logic. + */ void logic(); + + /** + * Draws everything on the screen. + */ void draw(); + + private: + Spriteset *emotionset, *npcset, *weaponset, *itemset; + Map *mCurrentMap; }; #endif |