Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | Related Pages

UpdateEntity Class Reference

#include <updateentity.h>

Inheritance diagram for UpdateEntity:

Inheritance graph
[legend]
Collaboration diagram for UpdateEntity:

Collaboration graph
[legend]
List of all members.

Detailed Description

Interface for updateable objects An updateable object overloads and implements the Update method for updating the object using the deltatime passed since last call as passed by the caller. Derived from the Activator class for easy on/off management.

Author:
Mattias Jansson (mattias@realityrift.com)


Public Member Functions

virtual void Update (float fDeltaTime)
bool IsActive () const
virtual void Activate ()
virtual void Deactivate ()
bool Toggle ()

Protected Attributes

bool m_bActive


Member Function Documentation

virtual void Update float  fDeltaTime  )  [inline, virtual]
 

Update object

Parameters:
fDeltaTime Time passed since last update

Reimplemented in AnimatedNode, AnimatedSubMesh, Animation, AnimatorController, MassParticle, MeshEntity, NodeAnimatorController, ParticleSystem, PhysicsManager, PhysicsNode, RigidBody, SceneNode, Skeleton, SkeletalSubMesh, SubMesh, SubMeshAnimatorController, Animation< SubMeshKeyframe >, Animation< NodeKeyframe >, AnimatorController< SubMeshAnimation >, AnimatorController< NodeAnimation >, and AnimatorController< SkeletonAnimation >.

bool IsActive  )  const [inline, inherited]
 

Query state of object

Returns:
true if active, false if not

void Activate  )  [inline, virtual, inherited]
 

Activate object

void Deactivate  )  [inline, virtual, inherited]
 

Deactivate object

bool Toggle  )  [inline, inherited]
 

Toggle active state. This method does not need to be overloaded, it is only a wrapper to Activate and Deactivate

Returns:
true if activated, false if deactivated


Member Data Documentation

bool m_bActive [protected, inherited]
 

Active flag


The documentation for this class was generated from the following file:
Generated on Wed Jan 21 14:21:16 2004 for NeoEngine by doxygen 1.3.5