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

Scene Class Reference

#include <Scene.h>

Inherited by Demo, Join, Menu, Play, and Scores.

Inheritance diagram for Scene:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Scene ()
virtual ~Scene ()
bool isLoaded ()
void setParent (Application *parent)
virtual bool load (Application *parent=NULL)
virtual bool unload ()
virtual bool update ()
virtual bool drawFrame ()

Protected Attributes

Applicationm_parent
bool m_loaded

Detailed Description

Scene.h

Author: Petter Alstermark, petter@alstermark.com

Definition at line 15 of file Scene.h.


Constructor & Destructor Documentation

Scene::Scene  ) 
 

Scene.cpp

Author: Petter Alstermark, petter@alstermark.com

Definition at line 9 of file Scene.cpp.

References m_loaded, and m_parent.

Scene::~Scene  )  [virtual]
 

Definition at line 14 of file Scene.cpp.

References m_parent, and unload().

Here is the call graph for this function:


Member Function Documentation

virtual bool Scene::drawFrame  )  [inline, virtual]
 

Reimplemented in Demo, Join, Menu, Play, and Scores.

Definition at line 26 of file Scene.h.

Referenced by MainApp::drawFrame().

bool Scene::isLoaded  )  [inline]
 

Definition at line 20 of file Scene.h.

References m_loaded.

virtual bool Scene::load Application parent = NULL  )  [inline, virtual]
 

Reimplemented in Demo, Join, Menu, Play, and Scores.

Definition at line 23 of file Scene.h.

Referenced by MainApp::load(), and MainApp::update().

void Scene::setParent Application parent  ) 
 

Definition at line 19 of file Scene.cpp.

References m_parent.

virtual bool Scene::unload  )  [inline, virtual]
 

Reimplemented in Demo, Join, Menu, Play, and Scores.

Definition at line 24 of file Scene.h.

Referenced by MainApp::unload(), MainApp::update(), and ~Scene().

virtual bool Scene::update  )  [inline, virtual]
 

Reimplemented in Demo, Join, Menu, Play, and Scores.

Definition at line 25 of file Scene.h.

Referenced by MainApp::update().


Member Data Documentation

bool Scene::m_loaded [protected]
 

Definition at line 30 of file Scene.h.

Referenced by Scores::drawFrame(), Play::drawFrame(), Menu::drawFrame(), Join::drawFrame(), Demo::drawFrame(), isLoaded(), Scores::load(), Play::load(), Menu::load(), Join::load(), Demo::load(), Scene(), Scores::unload(), Play::unload(), Menu::unload(), Join::unload(), Demo::unload(), Scores::update(), Play::update(), Menu::update(), Join::update(), and Demo::update().

Application* Scene::m_parent [protected]
 

Definition at line 26 of file Scene.h.

Referenced by Play::drawAvatar(), Menu::drawCreate(), Menu::drawCredits(), Play::drawExplosions(), Play::drawExtras(), Scores::drawFrame(), Play::drawFrame(), Menu::drawFrame(), Join::drawFrame(), Join::drawGalaxies(), Play::drawGrenades(), Menu::drawJoin(), Menu::drawLabel(), Join::drawLevels(), Play::drawLifebar(), Menu::drawMain(), Play::drawParticleSystems(), Play::drawPlayer(), Play::drawProjectiles(), Menu::drawQuad(), Join::drawQuad(), Menu::drawSelect(), Menu::drawSelection(), Menu::drawSettings(), Play::drawShadow(), Play::grenadeExplode(), Play::handleKeys(), Scores::load(), Play::load(), Menu::load(), Join::load(), Demo::load(), Menu::loadMain(), Play::loadObjects(), Play::loadTextures(), Menu::menuMainSelect(), Scene(), Menu::setCamera(), Join::setCamera(), Join::setGalaxy(), Menu::setModel(), setParent(), Play::setPlayerCam(), Play::unload(), Menu::unload(), Join::unload(), Join::unloadGalaxies(), Menu::unloadMain(), Scores::update(), Join::update(), Demo::update(), Menu::updateCreate(), Menu::updateCredits(), Menu::updateJoin(), Menu::updateMain(), Menu::updateSettings(), and ~Scene().


Generated on Sun Jun 5 15:51:00 2005 for Defacto by  doxygen 1.4.3