diff options
author | Stijn Buys <ingar@osirion.org> | 2008-01-30 17:32:00 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-01-30 17:32:00 +0000 |
commit | a94049b1a43f83d750b9b5dee031c19a6b1fafb0 (patch) | |
tree | 8677f67ba0ba0c0bb80b911d3aa0413d7e2a47c0 /src/client/view.h | |
parent | 7b5777160c7615443afc287fbdad6a861d69e36b (diff) |
accomodate the new modules
Diffstat (limited to 'src/client/view.h')
-rw-r--r-- | src/client/view.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/client/view.h b/src/client/view.h index 0087ae5..fa62d98 100644 --- a/src/client/view.h +++ b/src/client/view.h @@ -3,33 +3,36 @@ the terms and conditions of the GNU General Public License version 2 */ -#ifndef __INCLUDED_VIEW_H__ -#define __INCLUDED_VIEW_H__ +#ifndef __INCLUDED_CLIENT_VIEW_H__ +#define __INCLUDED_CLIENT_VIEW_H__ namespace client { -/// Draws the userinterface +/// Draws the user interface class View { public: /// intialize the view void init(); + /// shutdown the view void shutdown(); - /// Update the chronometer and draw the game view + /// update the chronometer and draw the game view void draw(float elapsed); - /// Reset the projection matrix + /// reset the projection matrix void reset(); protected: /// draw the world void draw_world(float elapsed); + /// draw the background void draw_background(float elapsed); }; } // namespace client -#endif // __INCLUDED_VIEW_H__ +#endif // __INCLUDED_CLIENT_VIEW_H__ + |