Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
Character Class Reference

#include <character.h>

Collaboration diagram for Character:
[legend]

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
 

Detailed Description

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


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