diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ui.h | 4 | ||||
-rw-r--r-- | include/world.h | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/include/ui.h b/include/ui.h index 6fafb17..c3c8940 100644 --- a/include/ui.h +++ b/include/ui.h @@ -42,10 +42,10 @@ namespace ui { void setFontSize(unsigned int size); /* - * Draws a string of text at the given coordinates. + * Draw a centered string. */ - float putString(const float x,const float y,const char *s); + float putStringCentered(const float x,const float y,const char *s); /* * Draws a formatted string at the given coordinates. diff --git a/include/world.h b/include/world.h index cb40ef6..fffdb9d 100644 --- a/include/world.h +++ b/include/world.h @@ -182,6 +182,14 @@ public: void draw(Player *p); // Draws the world (ignores layers) }; +class Arena : public World { +private: + World *exit; +public: + void drawDoor(void); + World *exitArena(void); +}; + extern int worldShade; #endif // WORLD_H |