diff options
Diffstat (limited to 'src/client/client.h')
-rw-r--r-- | src/client/client.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/client.h b/src/client/client.h index bd7af6b..dc70e16 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -8,6 +8,7 @@ #define __INCLUDED_CLIENT_H__ #include "core/application.h" +#include "client/view.h" /// client part of the engine namespace client { @@ -46,10 +47,15 @@ public: /// disconnect notification virtual void notify_disconnect(); + /// the main client view + inline View *view() { return client_view; } + protected: /// run a client frame virtual void frame(float seconds); +private: + View *client_view; }; |