The Nebula Device 3: PhysicsFeature::MouseGripperProperty Class Reference

The Nebula Device 3

PhysicsFeature::MouseGripperProperty Class Reference

#include <mousegripperproperty.h>


Detailed Description

The MouseGripperProperty allows picking dynamic physics object and throw it around.

(C) 2008 Radon Labs GmbH

Public Member Functions

 MouseGripperProperty ()
 constructor
virtual ~MouseGripperProperty ()
 destructor
virtual void SetupCallbacks ()
 setup callbacks for this property
virtual void SetupDefaultAttributes ()
 setup default entity attributes
virtual void OnActivate ()
 called from Entity::ActivateProperties()
virtual void OnDeactivate ()
 called from Entity::DeactivateProperties()
virtual void OnBeginFrame ()
 called after movement has happened
virtual void OnMoveBefore ()
 called before movement has happened
virtual void OnMoveAfter ()
 called after movement has happened
virtual void OnRenderDebug ()
 on render debug

Protected Member Functions

void HandleLeftMouseBtnDown ()
 handle left mouse btn
void HandleLeftMouseBtnUp ()
 handle left mouse btn

Member Function Documentation

void PhysicsFeature::MouseGripperProperty::OnActivate (  )  [virtual]

called from Entity::ActivateProperties()

Called when property is attached to a game entity. This will create and setup the required physics entities.

void PhysicsFeature::MouseGripperProperty::OnDeactivate (  )  [virtual]

called from Entity::DeactivateProperties()

Called when property is going to be removed from its game entity. This will release the physics entity owned by the game entity.

void PhysicsFeature::MouseGripperProperty::OnBeginFrame (  )  [virtual]

called after movement has happened

Handle general input.