From 180733d411b0844e878574e4c9f9b34690510367 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Fri, 13 Nov 2015 08:48:01 -0500 Subject: major font fixes --- include/ui.h | 4 ++-- include/world.h | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'include') 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 -- cgit v1.2.3