|
| MonsterCombatComponent (unsigned int max_hp, unsigned int damage, float attack_speed, Map &map, EntityId entity_id) |
|
attack_t | attack () override |
|
attack_result_t | receive_damage (attack_t attack) override |
|
void | update (uint64_t) override |
|
bool | attack_ready () const override |
|
| CombatComponent (unsigned int max_hp, unsigned int max_mp) |
|
| CombatComponent (unsigned int max_hp, unsigned int max_mp, unsigned int current_hp, unsigned int current_mp) |
|
void | reset_max (unsigned int max_hp, unsigned int max_mp) |
|
unsigned int | restore_hp (unsigned int hp) |
|
bool | can_spend_mp (unsigned int mp) |
|
void | spend_mp (unsigned int mp) |
|
unsigned int | get_max_hp () const |
|
virtual nlohmann::json | get_data () const |
|
void | set_max_mp (unsigned int mp) |
|
void | set_max_hp (unsigned int hp) |
|
|
unsigned int | max_hp |
|
unsigned int | max_mp |
|
unsigned int | current_hp |
|
unsigned int | current_mp |
|
La documentación para esta clase fue generada a partir de los siguientes ficheros:
- /home/nicolas/Taller/TP FINAL - ARGENTUM/repo/server/game/entities/components/monster_combat_component.h
- /home/nicolas/Taller/TP FINAL - ARGENTUM/repo/server/game/entities/components/monster_combat_component.cpp