Annchienta::FollowPathPersonControl Class Reference

Inherits Annchienta::PersonControl.

Inherited by SwigDirector_FollowPathPersonControl.

List of all members.

Public Member Functions

void addPoint (Point point)
void affect ()
 FollowPathPersonControl (Person *person)
virtual ~FollowPathPersonControl ()

Protected Attributes

std::vector< Pointpoints
int targetPoint


Detailed Description

This class moves a Person according to a given path.

Constructor & Destructor Documentation

Annchienta::FollowPathPersonControl::FollowPathPersonControl ( Person person  ) 

Create a new PersonControl for a Person.

Parameters:
person Person to control.

virtual Annchienta::FollowPathPersonControl::~FollowPathPersonControl (  )  [virtual]

Desturctor.


Member Function Documentation

void Annchienta::FollowPathPersonControl::addPoint ( Point  point  ) 

Add a Point to this path.

Parameters:
point Point to be added.

void Annchienta::FollowPathPersonControl::affect (  )  [virtual]

Affect the Person to be controlled.

Implements Annchienta::PersonControl.

Reimplemented in SwigDirector_FollowPathPersonControl.


Member Data Documentation


Generated on Wed Feb 4 16:31:47 2009 for Annchienta by  doxygen 1.5.7.1