Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
E:/Programming/MyProject/K_Game_hg/GameEngine/include/scene/Scene.h
Go to the documentation of this file.
00001 // Copyright 2006-2011 by Kat'Oun
00002 
00003 #ifndef _SCENE_H_
00004 #define _SCENE_H_
00005 
00006 #include <EngineConfig.h>
00007 #include <core/Types.h>
00008 #include <resource/Resource.h>
00009 
00010 #include <string>
00011 #include <list>
00012 
00013 namespace resource
00014 {
00015 class Serializer;
00016 }
00017 
00018 namespace scene
00019 {
00020 
00021 class Node;
00022 
00026 class ENGINE_PUBLIC_EXPORT Scene: public resource::Resource
00027 {
00028 public:
00029 
00030         Scene(const std::string& filename, resource::Serializer* serializer);
00031         virtual ~Scene();
00032 
00033         void addNode(Node* node);
00034 
00035         std::list<Node*>& getNodes();
00036 
00037         void removeAllNodes();
00038 
00039 private:
00040 
00041         void unloadImpl();
00042 
00043         std::list<Node*> mNodes;
00044 };
00045 
00046 } // end namespace scene
00047 
00048 #endif

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:05 by Doxygen (1.7.4)