Voxellancer
0.3
A game about voxels in space
|
#include <character.h>
Public Member Functions | |
Character (Ship &ship, Faction &faction) | |
Faction & | faction () |
void | setFaction (Faction &faction) |
void | setTask (std::shared_ptr< AiTask > task) |
std::shared_ptr< AiTask > | task () |
virtual void | update (float deltaSec) |
Protected Attributes | |
Ship & | m_ship |
Faction * | m_faction |
std::shared_ptr< AiTask > | m_task |
The Character is the Ship's pilot and executes his AiTask. He has a Faction which decides who is a friend or foe to him