blob: 6bfda0aa3dfbd2ac8196ad3e829597975ba2e24f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#pragma once
#include "BehaviorAttacker.h"
/** Makes the mob fight back any other mob that damages it. Mob should have BehaviorAttacker to work.
This behavior does not make sense in combination with BehaviorCoward. */
class cBehaviorAttackerMelee : cBehaviorAttacker
{
public:
bool StrikeTarget(std::chrono::milliseconds a_Dt, cChunk & a_Chunk, int a_StrikeTickCnt) override;
};
|