Voxellancer
0.3
A game about voxels in space
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Pages
character.h
1
#pragma once
2
3
#include <memory>
4
5
6
class
AiTask
;
7
class
Faction
;
8
class
Ship
;
9
15
class
Character
{
16
public
:
17
Character
(
Ship
& ship,
Faction
& faction);
18
19
Faction
& faction();
20
void
setFaction(
Faction
& faction);
21
22
void
setTask(std::shared_ptr<AiTask> task);
23
std::shared_ptr<AiTask> task();
24
25
virtual
void
update(
float
deltaSec);
26
27
protected
:
28
Ship
& m_ship;
29
Faction
* m_faction;
30
std::shared_ptr<AiTask> m_task;
31
};
32
AiTask
Definition:
aitask.h:15
Faction
Definition:
faction.h:10
Character
Definition:
character.h:15
Ship
Definition:
ship.h:23
src
ai
character.h
Generated on Sun Mar 30 2014 13:32:30 for Voxellancer by
1.8.6