#include <minotaur.hpp>
|
| | Minotaur (glm::vec3 corner, glm::vec3 facing) |
| |
| bool | doBehavior (ServerGameState &state) override |
| |
| void | doCollision (Object *other, ServerGameState &state) override |
| | Code to run when this object collides with another. More...
|
| |
| bool | doDeath (ServerGameState &state) override |
| |
| | Enemy (glm::vec3 corner, glm::vec3 facing, ObjectType type, ModelType model, SharedStats &&stats) |
| |
| | ~Enemy () |
| |
| virtual bool | doBehavior (ServerGameState &state) |
| |
| virtual bool | doDeath (ServerGameState &state) |
| |
| virtual SharedObject | toShared () override |
| | Generates a SharedObject representation of this object. More...
|
| |
| | Creature (ObjectType type, glm::vec3 corner, glm::vec3 facing, ModelType modelType, SharedStats &&stats) |
| |
| virtual | ~Creature () |
| |
| virtual SharedObject | toShared () override |
| | Generates a SharedObject representation of this object. More...
|
| |
| | Object (ObjectType type, Physics physics, ModelType modelType) |
| |
| virtual | ~Object () |
| |
| void | setModel (ModelType type) |
| | Sets this Object's model and initializes its dimensions to the given model's default dimensions. More...
|
| |
| virtual SharedObject | toShared () |
| | Generates a SharedObject representation of this object. More...
|
| |
| virtual void | doCollision (Object *other, ServerGameState &state) |
| | Code to run when this object collides with another. More...
|
| |
| std::string | to_string (unsigned int tab_offset) |
| |
| std::string | to_string () |
| |
◆ Minotaur()
| Minotaur::Minotaur |
( |
glm::vec3 |
corner, |
|
|
glm::vec3 |
facing |
|
) |
| |
◆ doBehavior()
- Returns
- true if the enemy was mutated, false otherwise
Reimplemented from Enemy.
◆ doCollision()
Code to run when this object collides with another.
NOTE: default implementation does nothing only override behaviors will matter
Reimplemented from Object.
◆ doDeath()
- Returns
- true if the enemy should be deleted, false otherwise
Reimplemented from Enemy.
◆ SIGHT_LIMIT_GRID_CELLS
| const float Minotaur::SIGHT_LIMIT_GRID_CELLS = 10.0f |
|
inlinestatic |
The documentation for this class was generated from the following files: