00001 00014 #ifndef _SCENE_H_ 00015 #define _SCENE_H_ 00016 00017 #include "graphical_node.h" 00018 #include "play_field.h" 00019 #include "scene_configuration.h" 00020 #include "time_updateable.h" 00021 00027 class Scene: public TimeUpdateable, public GraphicalNode 00028 { 00029 private: 00030 00032 SceneConfiguration _sceneConfig; 00033 00035 PlayField *_playField; 00036 00037 private: 00038 00039 // Disable copy constructor and assignment operator 00040 Scene(const Scene &); 00041 Scene & operator=(const Scene &); 00042 00043 public: 00044 00050 Scene(SceneConfiguration sceneConfig); 00051 00055 ~Scene(); 00056 00057 // Override 00058 virtual void timeUpdate(float dt); 00059 00066 void fire(); 00067 }; 00068 00069 #endif