Annchienta::InputPersonControl Class Reference

Inherits Annchienta::PersonControl.

Inherited by SwigDirector_InputPersonControl.

List of all members.

Public Member Functions

virtual void affect ()
 InputPersonControl (Person *person)
void tryInteract ()
virtual ~InputPersonControl ()

Protected Attributes

InputManagerinputManager
MathManagermathManager


Detailed Description

A subclass of PersonControl. This class allows the player to control a player with input, like mouse movements.

Constructor & Destructor Documentation

Annchienta::InputPersonControl::InputPersonControl ( Person person  ) 

Create a new InputPersonControl instance for a given person.

Parameters:
person Person to create the control for.

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

Delete this PersonControl.


Member Function Documentation

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

Update the Person associated with this object.

Implements Annchienta::PersonControl.

Reimplemented in SwigDirector_InputPersonControl.

void Annchienta::InputPersonControl::tryInteract (  ) 

Internally used function that tries to have the associated Person interact with the world.


Member Data Documentation


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