diff options
Diffstat (limited to 'src/client/view.h')
-rw-r--r-- | src/client/view.h | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/src/client/view.h b/src/client/view.h index de73ab9..377cc9b 100644 --- a/src/client/view.h +++ b/src/client/view.h @@ -6,19 +6,30 @@ #ifndef __INCLUDED_VIEW_H__ #define __INCLUDED_VIEW_H__ -#include "common/vector3f.h" +namespace client { -/// Draws the view of the map -namespace view +/// Draws the userinterface +class View { - void init(); - void shutdown(); +public: + /// intialize the view + static void init(); + /// shutdown the view + static void shutdown(); /// Update the chronometer and draw the game view - void draw(float elapsed); + static void draw(float elapsed); /// Reset the projection matrix - void reset(); + static void reset(); + +protected: + /// draw the world + static void draw_world(float elapsed); + /// draw the background + static void draw_background(float elapsed); }; +} // namespace client + #endif // __INCLUDED_VIEW_H__ |