Annchienta::SamplePersonControl Class Reference

Inherits Annchienta::PersonControl.

Inherited by SwigDirector_SamplePersonControl.

List of all members.

Public Member Functions

virtual void affect ()
 SamplePersonControl (Person *person)
virtual ~SamplePersonControl ()

Protected Attributes

int mx
int my
Pointtarget
int walkTimeGiven


Detailed Description

A subclass of PersonControl. This class moves the controlled Person around a bit quite randomly. The Person walks around the field and evades other objects.

Constructor & Destructor Documentation

Annchienta::SamplePersonControl::SamplePersonControl ( Person person  ) 

Create a new SamplePersonControl instance for a given person.

Parameters:
person Person to create the control for.

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

Delete this PersonControl.


Member Function Documentation

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

Update the Person associated with this object.

Implements Annchienta::PersonControl.

Reimplemented in SwigDirector_SamplePersonControl.


Member Data Documentation


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