Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
#include <Scene.h>
Public Member Functions | |
void | addNode (Node *node) |
std::list< Node * > & | getNodes () |
void | removeAllNodes () |
Scene (const std::string &filename, resource::Serializer *serializer) | |
virtual | ~Scene () |
Private Member Functions | |
void | unloadImpl () |
Private Attributes | |
std::list< Node * > | mNodes |
Defines a scene data resource. Author: Kat'Oun version: 1.0
scene::Scene::Scene | ( | const std::string & | filename, |
resource::Serializer * | serializer | ||
) |
References resource::Resource::mResourceType, and resource::RT_RESOURCE_SCENE.
scene::Scene::~Scene | ( | ) | [virtual] |
void scene::Scene::removeAllNodes | ( | ) |
References engine::Object::getID(), scene::SceneManager::getInstance(), physics::PhysicsManager::getInstance(), sound::SoundManager::getInstance(), render::RenderManager::getInstance(), scene::Node::getNodeType(), mNodes, scene::NT_BODY, scene::NT_CAMERA, scene::NT_LIGHT, scene::NT_RENDERABLE, scene::NT_SOUND, scene::NT_UNDEFINED, and scene::SceneManager::removeNode().
Referenced by unloadImpl().
void scene::Scene::unloadImpl | ( | ) | [private, virtual] |
Reimplemented from resource::Resource.
References removeAllNodes().
std::list<Node*> scene::Scene::mNodes [private] |
Referenced by addNode(), getNodes(), and removeAllNodes().
The KG Game Engine
Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:10 by
Doxygen
(1.7.4)
|