Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

Scene.h

Go to the documentation of this file.
00001 
00007 #ifndef _SCENE_H_
00008 #define _SCENE_H_
00009 
00010 #include "Characters.h"
00011 #include "../Common/Globals.h"
00012 #include "../Common/Application.h"
00013 #include "../Common/OS/Windows.h"
00014 
00015 class Scene {
00016         public:
00017                 Scene();
00018                 virtual ~Scene();
00019 
00020                 bool isLoaded() { return m_loaded; };
00021                 void setParent(Application *parent);
00022 
00023                 virtual bool load(Application *parent = NULL) { return true; };
00024                 virtual bool unload() { return true; };
00025                 virtual bool update() { return true; };
00026                 virtual bool drawFrame() { return true; };
00027 
00028         protected:
00029                 Application *m_parent;
00030                 bool m_loaded;
00031 };
00032 
00033 #endif

Generated on Sun Jun 5 15:47:05 2005 for Defacto by  doxygen 1.4.3