From 48dff0f03c5df964a411e310f8905aaa3c84ac27 Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Wed, 30 Aug 2017 17:13:31 +0300 Subject: Initial zombies --- src/Mobs/Zombie.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'src/Mobs/Zombie.h') diff --git a/src/Mobs/Zombie.h b/src/Mobs/Zombie.h index 66b6b6362..1bb2ebd45 100644 --- a/src/Mobs/Zombie.h +++ b/src/Mobs/Zombie.h @@ -1,7 +1,12 @@ #pragma once -#include "AggressiveMonster.h" +#include "Monster.h" +#include "Behaviors/BehaviorAttackerMelee.h" +#include "Behaviors/BehaviorWanderer.h" + +#include "Behaviors/BehaviorAggressive.h" +#include "Behaviors/BehaviorDayLightBurner.h" @@ -21,12 +26,18 @@ public: bool IsVillagerZombie(void) const { return m_IsVillagerZombie; } bool IsConverting (void) const { return m_IsConverting; } - private: bool m_IsVillagerZombie; bool m_IsConverting; + // tick behaviors + cBehaviorAttackerMelee m_BehaviorAttackerMelee; + cBehaviorWanderer m_BehaviorWanderer; + + // other behaviors + cBehaviorAggressive m_BehaviorAggressive; + cBehaviorDayLightBurner m_BehaviourDayLightBurner; } ; -- cgit v1.2.3