Bubba-3D  0.9.0
Awesome game engine!
Public Member Functions | Protected Attributes | List of all members
MoveComponent Class Reference
Inheritance diagram for MoveComponent:
IComponent

Public Member Functions

 MoveComponent (GameObject *meshObject)
 
 MoveComponent (GameObject *meshObject, chag::Quaternion rotationSpeed, chag::float3 velocity, chag::float3 acceleration, chag::float3 scaleSpeed)
 
virtual void update (float dt)
 
chag::float3 getVelocity ()
 
chag::float3 getAcceleration ()
 
chag::Quaternion getRotationSpeed ()
 
chag::float3 getScaleSpeed ()
 
void setVelocity (chag::float3 v)
 
void setAcceleration (chag::float3 a)
 
void setRotationSpeed (chag::Quaternion rs)
 
void setScaleSpeed (chag::float3 ss)
 
- Public Member Functions inherited from IComponent
void bind (GameObject *owner)
 
virtual void beforeCollision (GameObject *collider)
 
virtual void duringCollision (GameObject *collider)
 
virtual void afterCollision (GameObject *collider)
 
virtual void onDeath ()
 

Protected Attributes

GameObjectmeshObject
 
- Protected Attributes inherited from IComponent
GameObjectowner
 

Detailed Description

Definition at line 25 of file MoveComponent.h.


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