public

Inheritance Graph

graph BT
	FollowPathBehaviour
	FollowPathBehaviour --> AbstractNodeBehaviour
	click FollowPathBehaviour "classMinSG_1_1FollowPathBehaviour"
	click AbstractNodeBehaviour "classMinSG_1_1AbstractNodeBehaviour"

Description

PathNode::FollowPathBehaviour

Public Functions

   
   
  FollowPathBehaviour( PathNode * pathNode, Node * node, float speed)
   
  ~FollowPathBehaviour()
   
void setPath( PathNode * pathNode)
   
PathNode * getPath() const
   
float getSpeed() const
   
void setSpeed(float newSpeed)
   
void setPosition(float newPosition, AbstractBehaviour::timestamp_t void)
   
float getPosition() const
   
behaviourResult_t doExecute()

Documentation

function
MinSG::FollowPathBehaviour::FollowPathBehaviour

public
     
     
FollowPathBehaviour( PathNode * pathNode,
  Node * node,
  float speed
)    

Defined in MinSG/Ext/Waypoints/FollowPathBehaviour.h:31


function
MinSG::FollowPathBehaviour::~FollowPathBehaviour

public virtual
   
   
~FollowPathBehaviour( )

Defined in MinSG/Ext/Waypoints/FollowPathBehaviour.h:32


function
MinSG::FollowPathBehaviour::setPath

public inline
     
     
void setPath( PathNode * pathNode )

Defined in MinSG/Ext/Waypoints/FollowPathBehaviour.h:34


function
MinSG::FollowPathBehaviour::getPath

public const inline
   
   
PathNode * getPath( ) const

Defined in MinSG/Ext/Waypoints/FollowPathBehaviour.h:35


function
MinSG::FollowPathBehaviour::getSpeed

public const inline
   
   
float getSpeed( ) const

Defined in MinSG/Ext/Waypoints/FollowPathBehaviour.h:36


function
MinSG::FollowPathBehaviour::setSpeed

public inline
     
     
void setSpeed( float newSpeed )

Defined in MinSG/Ext/Waypoints/FollowPathBehaviour.h:37


function
MinSG::FollowPathBehaviour::setPosition

public inline
     
     
void setPosition( float newPosition,
  AbstractBehaviour::timestamp_t void
)    

Defined in MinSG/Ext/Waypoints/FollowPathBehaviour.h:38


function
MinSG::FollowPathBehaviour::getPosition

public const inline
   
   
float getPosition( ) const

Defined in MinSG/Ext/Waypoints/FollowPathBehaviour.h:41


function
MinSG::FollowPathBehaviour::doExecute

public virtual
   
   
behaviourResult_t doExecute( )

o Called every frame (if the behaviour is active).

Defined in MinSG/Ext/Waypoints/FollowPathBehaviour.h:43