summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/Behaviors')
-rw-r--r--src/Mobs/Behaviors/BehaviorAttackerMelee.h4
-rw-r--r--src/Mobs/Behaviors/BehaviorStriker.cpp7
-rw-r--r--src/Mobs/Behaviors/BehaviorStriker.h13
-rw-r--r--src/Mobs/Behaviors/CMakeLists.txt2
4 files changed, 2 insertions, 24 deletions
diff --git a/src/Mobs/Behaviors/BehaviorAttackerMelee.h b/src/Mobs/Behaviors/BehaviorAttackerMelee.h
index b079c94fc..6e990f04c 100644
--- a/src/Mobs/Behaviors/BehaviorAttackerMelee.h
+++ b/src/Mobs/Behaviors/BehaviorAttackerMelee.h
@@ -2,8 +2,8 @@
#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. */
+/** Grants the mob that ability to approach a target and then melee attack it.
+Use BehaviorAttackerMelee::SetTarget to attack. */
class cBehaviorAttackerMelee : public cBehaviorAttacker
{
public:
diff --git a/src/Mobs/Behaviors/BehaviorStriker.cpp b/src/Mobs/Behaviors/BehaviorStriker.cpp
deleted file mode 100644
index e09bb45f9..000000000
--- a/src/Mobs/Behaviors/BehaviorStriker.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
-bool cAggressiveMonster::Attack(std::chrono::milliseconds a_Dt)
-{
- GetTarget()->TakeDamage(dtMobAttack, this, m_AttackDamage, 0);
-
- return true;
-} */
diff --git a/src/Mobs/Behaviors/BehaviorStriker.h b/src/Mobs/Behaviors/BehaviorStriker.h
deleted file mode 100644
index 6fc094476..000000000
--- a/src/Mobs/Behaviors/BehaviorStriker.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#pragma once
-class cBehaviorStriker
-{
-
-};
-
-/*
-bool cAggressiveMonster::Attack(std::chrono::milliseconds a_Dt)
-{
- GetTarget()->TakeDamage(dtMobAttack, this, m_AttackDamage, 0);
-
- return true;
-} */
diff --git a/src/Mobs/Behaviors/CMakeLists.txt b/src/Mobs/Behaviors/CMakeLists.txt
index 686d0937b..e92c850e3 100644
--- a/src/Mobs/Behaviors/CMakeLists.txt
+++ b/src/Mobs/Behaviors/CMakeLists.txt
@@ -17,7 +17,6 @@ SET (SRCS
BehaviorItemFollower.cpp
BehaviorItemReplacer.cpp
BehaviorAttackerMelee.cpp
- BehaviorStriker.cpp
BehaviorWanderer.cpp
)
@@ -34,7 +33,6 @@ SET (HDRS
BehaviorItemFollower.h
BehaviorItemReplacer.h
BehaviorAttackerMelee.h
- BehaviorStriker.h
BehaviorWanderer.h
)