Nimbus  0.2
A game... with arrows... which should be clouds
 All Classes Functions Variables Enumerations Enumerator
Nimbus::Transformational Class Reference

#include <Transformational.h>

Inheritance diagram for Nimbus::Transformational:
Collaboration diagram for Nimbus::Transformational:

Classes

class  TranslationListener
 
class  TranslationQueryListener
 

Public Member Functions

 Transformational (BehaviourType type, World *world, EventSystem *eventSystem)
 
 Transformational (BehaviourType type, World *world, Ogre::ConfigFile::SettingsMultiMap *initializingSettings, EventSystem *eventSystem)
 
 Transformational (Transformational *other, World *world, int id, EventSystem *eventSystem)
 
virtual ~Transformational (void)
 
virtual void startup (void)
 
virtual void update (void)
 
virtual void shutdown (void)
 
virtual void forceUpdate (void)
 
virtual Behaviourclone (Ogre::ConfigFile::SettingsMultiMap *initializingSettings, EventSystem *eventSystem)
 
virtual Behaviourclone (int id, EventSystem *eventSystem)
 
- Public Member Functions inherited from Nimbus::Behaviour
 Behaviour (BehaviourType type, World *world, EventSystem *eventSystem)
 
 Behaviour (BehaviourType type, World *world, Ogre::ConfigFile::SettingsMultiMap *initializingSettings, EventSystem *eventSystem)
 
 Behaviour (Behaviour *other, World *world, int id, EventSystem *eventSystem)
 
BehaviourType getBehaviourType ()
 

Protected Attributes

Nimbus::Transformational::TranslationListenermTranslationListener
 
Nimbus::Transformational::TranslationQueryListenermTranslationQueryListener
 
- Protected Attributes inherited from Nimbus::Behaviour
WorldmWorld
 
BehaviourType mBehaviourType
 
GameEntityId mParentId
 
EventSystemmEntityEventSystem
 

Detailed Description

Transformational is a class giving the entity the ability to have a position, rotation, scale, and velocity. While we're not so sure about that last one, that seems to make up a transformation... so that's why this is called Transformational.

(More than meets the eye!!!)

This tranformation is merely for virtual movement's sake, and does not directly effect the position that the entity is rendered at. This will be sent to the Renderable behaviour using an event-based messaging system.

Constructor & Destructor Documentation

Transformational::Transformational ( BehaviourType  type,
World world,
EventSystem eventSystem 
)

Default constructor, taking a world pointer.

Parameters
typeThe type of Behaviour being constructed.
worldA pointer to the game world.
eventSystemA pointer to the parent entity's event system.

Here is the caller graph for this function:

Transformational::Transformational ( BehaviourType  type,
World world,
Ogre::ConfigFile::SettingsMultiMap *  initializingSettings,
EventSystem eventSystem 
)

Constructor based of a set of initial settings.

Parameters
typeThe type of Behaviour being constructed.
worldA pointer to the game world.
intitializingSettingsA map of settings used to construct the intial entity.
eventSystemA pointer to the parent entity's event system.
Transformational::Transformational ( Transformational other,
World world,
int  id,
EventSystem eventSystem 
)

Constructor taking a different behaviour and making a similar one.

Parameters
otherThe template Transformational behaviour.
worldA pointer to the game world.
idThe id for the parent entity.
eventSystemA pointer to the parent entity's event system.
Transformational::~Transformational ( void  )
virtual

Virtual destructor for destroying things.

Member Function Documentation

Behaviour * Transformational::clone ( Ogre::ConfigFile::SettingsMultiMap *  initializingSettings,
EventSystem eventSystem 
)
virtual

Duplicates the entity using the settings given. Currently merely returns a pointer given by the constructor.

Implements Nimbus::Behaviour.

Here is the call graph for this function:

Behaviour * Transformational::clone ( int  id,
EventSystem eventSystem 
)
virtual

Duplicates the entity based on the current copy. This is used to enable use of the prototype pattern.

Implements Nimbus::Behaviour.

Here is the call graph for this function:

void Transformational::forceUpdate ( void  )
virtual

Forces a position update.

Here is the caller graph for this function:

void Transformational::shutdown ( void  )
virtual

!! STUBBED !! Shuts down the behaviour, taking care of any major cleanup.

Implements Nimbus::Behaviour.

Here is the call graph for this function:

void Transformational::startup ( void  )
virtual

!! STUBBED !! Starts up the initial behaviour.

Implements Nimbus::Behaviour.

Here is the call graph for this function:

void Transformational::update ( void  )
virtual

!! STUBBED !! Updates the behaviour, influencing the entity.

Implements Nimbus::Behaviour.

Here is the call graph for this function:


The documentation for this class was generated from the following files: