DustyEngine::MoveTask Class Reference

MoveTask is a task which will move a SceneNode by a specified vector each time it is executed. More...

#include <dustymovetask.h>

Inheritance diagram for DustyEngine::MoveTask:

DustyEngine::DummyTask DustyEngine::NodeAffector DustyEngine::Task DustyEngine::MoveBoundedTask List of all members.

Public Member Functions

 MoveTask ()
virtual ~MoveTask ()
 The destructor will release the SceneNode this task uses, if one has been assigned.
void SetVector (irr::core::vector3df vector)
irr::core::vector3df GetVector ()
void OnUpdate ()
 MoveTask's OnUpdate will move a SceneNode that is associated with the task by a certain vector each time it is executed.

Protected Attributes

irr::core::vector3df moveVector

Detailed Description

MoveTask is a task which will move a SceneNode by a specified vector each time it is executed.

Definition at line 12 of file dustymovetask.h.


Constructor & Destructor Documentation

DustyEngine::MoveTask::MoveTask  ) 
 

virtual DustyEngine::MoveTask::~MoveTask  )  [virtual]
 

The destructor will release the SceneNode this task uses, if one has been assigned.


Member Function Documentation

irr::core::vector3df DustyEngine::MoveTask::GetVector  )  [inline]
 

GetVector returns the vector this task applies to the SceneNode each time the task is executed.

Returns:
Returns the vector which is added to the position of the SceneNode each execution.

Definition at line 29 of file dustymovetask.h.

void DustyEngine::MoveTask::OnUpdate  )  [virtual]
 

MoveTask's OnUpdate will move a SceneNode that is associated with the task by a certain vector each time it is executed.

Reimplemented from DustyEngine::DummyTask.

Reimplemented in DustyEngine::MoveBoundedTask.

void DustyEngine::MoveTask::SetVector irr::core::vector3df  vector  )  [inline]
 

SetVector sets the movement vector to apply to this task. Each time the task is updated, this vector is added to the position of the SceneNode associated with the task.

Parameters:
vector,: The vector to apply to the position of the supplied SceneNode.

Definition at line 22 of file dustymovetask.h.


Member Data Documentation

irr::core::vector3df DustyEngine::MoveTask::moveVector [protected]
 

Definition at line 38 of file dustymovetask.h.


The documentation for this class was generated from the following file:
Generated on Fri Jan 27 17:32:00 2006 for Dusty Engine by  doxygen 1.4.6-NO