#include <Creature.hpp>
|
| | Creature (int id, Map &map, Position position) |
| |
| | Creature (int id, Map &map, Position position, NeuronNetwork brain) |
| |
| | Creature (int id, Map &map, Position position, Position &objective) |
| |
| | Creature (int id, Map &map, Position position, NeuronNetwork brain, Position &objective) |
| |
| | Creature (Creature ©) |
| |
| void | think () |
| |
| void | eat () |
| |
| void | doActions () |
| |
| void | move (int speed) |
| |
| void | move (double forceLeft, double forceRight) |
| |
| void | turnLeft () |
| |
| void | turnRight () |
| |
| void | addInputFeature (InputId, InputFeature *input) |
| |
| void | addOutputFeature (OutputId, OutputFeature *output) |
| |
| void | clearFeatures () |
| |
| void | addFeelingBar (FeelingBarId id, FeelingBar *bar) |
| |
| double | getFeelingValue (FeelingBarId id) const |
| |
| Position & | getPosition () |
| |
| void | setPosition (Position position) |
| |
| double | getRotation () const |
| |
| double & | getRotationRef () |
| |
| void | setRotation (double rotation) |
| |
| int | getId () const |
| |
| NeuronNetwork & | getBrain () |
| |
| Position & | getObjective () |
| |
| void | setObjective (Position &objective) |
| |
| void | setObjective (double x, double y) |
| |
| Creature::Creature |
( |
int |
id, |
|
|
Map & |
map, |
|
|
Position |
position |
|
) |
| |
| Creature::Creature |
( |
int |
id, |
|
|
Map & |
map, |
|
|
Position |
position, |
|
|
NeuronNetwork |
brain |
|
) |
| |
| Creature::Creature |
( |
int |
id, |
|
|
Map & |
map, |
|
|
Position |
position, |
|
|
Position & |
objective |
|
) |
| |
| Creature::Creature |
( |
int |
id, |
|
|
Map & |
map, |
|
|
Position |
position, |
|
|
NeuronNetwork |
brain, |
|
|
Position & |
objective |
|
) |
| |
| void Creature::clearFeatures |
( |
| ) |
|
| void Creature::doActions |
( |
| ) |
|
| int Creature::getId |
( |
| ) |
const |
| Position & Creature::getObjective |
( |
| ) |
|
| Position & Creature::getPosition |
( |
| ) |
|
| double Creature::getRotation |
( |
| ) |
const |
| double & Creature::getRotationRef |
( |
| ) |
|
| void Creature::move |
( |
int |
speed | ) |
|
| void Creature::move |
( |
double |
forceLeft, |
|
|
double |
forceRight |
|
) |
| |
| void Creature::setObjective |
( |
Position & |
objective | ) |
|
| void Creature::setObjective |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
| void Creature::setPosition |
( |
Position |
position | ) |
|
| void Creature::setRotation |
( |
double |
rotation | ) |
|
| void Creature::turnLeft |
( |
| ) |
|
| void Creature::turnRight |
( |
| ) |
|
The documentation for this class was generated from the following files: