#include <projectile.hpp>
|
| | HomingFireball (glm::vec3 corner, glm::vec3 facing, std::optional< EntityID > target) |
| |
| | Projectile (glm::vec3 corner, glm::vec3 facing, glm::vec3 dimensions, ModelType model, std::optional< ServerSFX > destroy_sound, Options &&options) |
| |
| void | doCollision (Object *other, ServerGameState &state) override |
| | Code to run when this object collides with another. More...
|
| |
| bool | doTick (ServerGameState &state) |
| | handle homing trajectory updates More...
|
| |
| 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 () |
| |
◆ HomingFireball()
| HomingFireball::HomingFireball |
( |
glm::vec3 |
corner, |
|
|
glm::vec3 |
facing, |
|
|
std::optional< EntityID > |
target |
|
) |
| |
|
inline |
◆ DAMAGE
| const int HomingFireball::DAMAGE = 15 |
|
inlinestatic |
◆ H_MULT
| const float HomingFireball::H_MULT = 0.4 |
|
inlinestatic |
◆ HOMING_DURATION_TICKS
| const int HomingFireball::HOMING_DURATION_TICKS = 80 |
|
inlinestatic |
◆ HOMING_STRENGTH
| const float HomingFireball::HOMING_STRENGTH = 0.1f |
|
inlinestatic |
◆ V_MULT
| const float HomingFireball::V_MULT = 0.1 |
|
inlinestatic |
The documentation for this class was generated from the following file: