blob: b9cb155e8103857ed21aab45c490022d44faa7f5 (
plain) (
tree)
|
|
#pragma once
#include "BehaviorAttacker.h"
/** Grants the mob that ability to approach a target and then melee attack it.
Use BehaviorAttackerMelee::SetTarget to attack. */
class cBehaviorAttackerSuicideBomber : public cBehaviorAttacker
{
public:
cBehaviorAttackerSuicideBomber();
void AttachToMonster(cMonster & a_Parent) override;
// cBehaviorAttacker also implements those and we need to call super on them
void DoTakeDamage(TakeDamageInfo & a_TDI) override;
bool DoStrike(int a_StrikeTickCnt) override;
void OnRightClicked(cPlayer & a_Player) override;
bool IsBlowing(void) const;
bool IsCharged(void) const;
bool IsBurnedWithFlintAndSteel(void) const;
private:
bool m_bIsBlowing, m_bIsCharged, m_BurnedWithFlintAndSteel;
};
|