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)
 
Factionfaction ()
 
void setFaction (Faction &faction)
 
void setTask (std::shared_ptr< AiTask > task)
 
std::shared_ptr< AiTasktask ()
 
virtual void update (float deltaSec)
 

Protected Attributes

Shipm_ship
 
Factionm_faction
 
std::shared_ptr< AiTaskm_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: