Dauphine  0.1
A platforming/stealth game in a medieval fantasy setting, developed with SDL2.
Public Member Functions | List of all members
EStatePatrolling Class Reference

Public Member Functions

 EStatePatrolling (Enemy *const enemy_)
 The constructor. More...
 
virtual ~EStatePatrolling ()
 The destructor.
 
virtual void enter ()
 
virtual void exit ()
 
virtual void update ()
 
- Public Member Functions inherited from StateEnemy
 StateEnemy (Enemy *const enemy_)
 The constructor. More...
 
virtual ~StateEnemy ()
 The destructor.
 

Additional Inherited Members

- Public Attributes inherited from StateEnemy
Enemyenemy
 Reference to the enemy. More...
 

Constructor & Destructor Documentation

EStatePatrolling::EStatePatrolling ( Enemy *const  enemy_)

The constructor.

Parameters
enemy_: Reference to the Enemy.

Member Function Documentation

void EStatePatrolling::enter ( )
virtual
See Also
StateEnemy::enter

Implements StateEnemy.

void EStatePatrolling::exit ( )
virtual
See Also
StateEnemy::exit

Implements StateEnemy.

void EStatePatrolling::update ( )
virtual
See Also
StateEnemy::update
Todo:
Make the range be only in the direciton the enemy is facing.

Implements StateEnemy.


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