25 virtual
void Tick(
std::chrono::milliseconds a_Dt,
cChunk & a_Chunk) override;
27 virtual
bool Attack(
std::chrono::milliseconds a_Dt) override;
59 virtual void InStateIdle(std::chrono::milliseconds a_Dt,
cChunk & a_Chunk)
override;
void SetIsBegging(bool a_IsBegging)
void SetIsTame(bool a_IsTame)
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk &a_Chunk) override
AString GetOwnerName(void) const
virtual void TickFollowPlayer()
void SetCollarColor(int a_CollarColor)
void NotifyAlliesOfFight(cPawn *a_Opponent)
bool IsBegging(void) const
int GetCollarColor(void) const
void SetIsAngry(bool a_IsAngry)
bool IsSitting(void) const override
virtual void InStateIdle(std::chrono::milliseconds a_Dt, cChunk &a_Chunk) override
cUUID GetOwnerUUID(void) const
void SetOwner(const AString &a_NewOwnerName, const cUUID &a_NewOwnerUUID)
virtual void OnRightClicked(cPlayer &a_Player) override
Called when the specified player right-clicks this entity.
int m_NotificationCooldown
void SetIsSitting(bool a_IsSitting)
virtual bool Attack(std::chrono::milliseconds a_Dt) override
Try to perform attack returns true if attack was deemed successful (hit player, fired projectile...
#define CLASS_PROTODEF(classname)
bool IsTame(void) const override
void ReceiveNearbyFightInfo(const cUUID &a_PlayerUUID, cPawn *a_Opponent, bool a_IsPlayerInvolved)
Notfies the wolf of a nearby fight.
virtual bool DoTakeDamage(TakeDamageInfo &a_TDI) override
Makes this entity take damage specified in the a_TDI.
cPassiveAggressiveMonster super