30#ifndef HORIZON_ZONE_GAME_ENTITIES_MOB_HPP
31#define HORIZON_ZONE_GAME_ENTITIES_MOB_HPP
50 bool initialize(std::shared_ptr<const monster_config_data> md);
53 virtual void on_damage_received(std::shared_ptr<Unit> damage_dealer,
int damage)
override;
54 virtual void on_killed(std::shared_ptr<Unit> killer,
bool with_drops =
false,
bool with_exp =
false)
override;
unit_type
Definition: UnitDefinitions.hpp:44
unit_type_mask
Definition: UnitDefinitions.hpp:59
std::shared_ptr< Map > map()
Map & Map Container.
Definition: Unit.hpp:165
uint64_t uuid() const
Unit Data.
Definition: Unit.hpp:140
unit_type_mask type_mask() const
Definition: Unit.hpp:174
unit_type type() const
Unit applications.
Definition: Unit.hpp:173
bool initialize()
Definition: Unit.cpp:72
virtual bool finalize() override
Definition: Mob.cpp:63
virtual void on_damage_received(std::shared_ptr< Unit > damage_dealer, int damage) override
Definition: Mob.cpp:71
Mob(uint64_t uuid, unit_type type, unit_type_mask type_mask, std::shared_ptr< Map > map, MapCoords mcoords)
Definition: Mob.cpp:40
virtual void on_killed(std::shared_ptr< Unit > killer, bool with_drops=false, bool with_exp=false) override
Definition: Mob.cpp:76
~Mob() override
Definition: Mob.cpp:46
Definition: Element.hpp:7
Definition: MonsterDefinitions.hpp:203