Annwvyn::AnnPlayerActuator Class Referenceabstract

Callback class that permit you to define how physics is applied to the player. More...

#include <AnnPlayerActuator.hpp>

Inheritance diagram for Annwvyn::AnnPlayerActuator:
Collaboration diagram for Annwvyn::AnnPlayerActuator:

Public Member Functions

virtual ~AnnPlayerActuator ()
 
 AnnPlayerActuator ()
 Construct a player actuator. More...
 
virtual void actuate (float deltaTime)=0
 Overload this method to define how the player object should react to physics. More...
 

Protected Attributes

AnnPlayerBodyplayer
 

Friends

class AnnPlayerBody
 

Detailed Description

Callback class that permit you to define how physics is applied to the player.

Definition at line 16 of file AnnPlayerActuator.hpp.

Constructor & Destructor Documentation

◆ ~AnnPlayerActuator()

AnnPlayerActuator::~AnnPlayerActuator ( )
virtual

Definition at line 59 of file AnnPlayerActuator.cpp.

◆ AnnPlayerActuator()

AnnPlayerActuator::AnnPlayerActuator ( )

Construct a player actuator.

Definition at line 10 of file AnnPlayerActuator.cpp.

Member Function Documentation

◆ actuate()

virtual void Annwvyn::AnnPlayerActuator::actuate ( float  deltaTime)
pure virtual

Overload this method to define how the player object should react to physics.

Implemented in Annwvyn::AnnDefaultPlayerActuator.

Friends And Related Function Documentation

◆ AnnPlayerBody

friend class AnnPlayerBody
friend

Definition at line 28 of file AnnPlayerActuator.hpp.

Member Data Documentation

◆ player

AnnPlayerBody* Annwvyn::AnnPlayerActuator::player
protected

Definition at line 27 of file AnnPlayerActuator.hpp.


The documentation for this class was generated from the following files: