My Project
 
Loading...
Searching...
No Matches
Mob::Fleeing Class Reference

#include <mob.h>

Inheritance diagram for Mob::Fleeing:
Collaboration diagram for Mob::Fleeing:

Public Member Functions

 Fleeing (Mob *m)
 
virtual bool act (bool enemyInFOV, bool justAlerted)
 
virtual std::string status ()
 
- Public Member Functions inherited from Mob::AiState
 AiState (Mob *m)
 

Static Public Attributes

static const std::string TAG = "FLEEING"
 

Protected Member Functions

void nowhereToRun ()
 

Additional Inherited Members

- Public Attributes inherited from Mob::AiState
Mobowner
 

Constructor & Destructor Documentation

◆ Fleeing()

Mob::Fleeing::Fleeing ( Mob * m)
inline
Here is the call graph for this function:

Member Function Documentation

◆ act()

bool Mob::Fleeing::act ( bool enemyInFOV,
bool justAlerted )
virtual

Implements Mob::AiState.

Here is the call graph for this function:

◆ nowhereToRun()

void Mob::Fleeing::nowhereToRun ( )
inlineprotected
Here is the caller graph for this function:

◆ status()

std::string Mob::Fleeing::status ( )
virtual

Implements Mob::AiState.

Here is the call graph for this function:

Member Data Documentation

◆ TAG

const std::string Mob::Fleeing::TAG = "FLEEING"
static

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