diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-09-02 18:36:24 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-09-02 18:36:24 +0200 |
commit | 2523af8f9a6f712dc6cc4007437349557b0bdfe1 (patch) | |
tree | dcd08777ca9672c331ff6b3503a899e59e2584fc /src/Mobs/ZombiePigman.h | |
parent | Reimplemented creepers using Behaviors (diff) | |
download | cuberite-2523af8f9a6f712dc6cc4007437349557b0bdfe1.tar cuberite-2523af8f9a6f712dc6cc4007437349557b0bdfe1.tar.gz cuberite-2523af8f9a6f712dc6cc4007437349557b0bdfe1.tar.bz2 cuberite-2523af8f9a6f712dc6cc4007437349557b0bdfe1.tar.lz cuberite-2523af8f9a6f712dc6cc4007437349557b0bdfe1.tar.xz cuberite-2523af8f9a6f712dc6cc4007437349557b0bdfe1.tar.zst cuberite-2523af8f9a6f712dc6cc4007437349557b0bdfe1.zip |
Diffstat (limited to 'src/Mobs/ZombiePigman.h')
-rw-r--r-- | src/Mobs/ZombiePigman.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Mobs/ZombiePigman.h b/src/Mobs/ZombiePigman.h index dad420da7..e3bab0539 100644 --- a/src/Mobs/ZombiePigman.h +++ b/src/Mobs/ZombiePigman.h @@ -1,7 +1,9 @@ #pragma once #include "Monster.h" - +#include "Behaviors/BehaviorAttackerMelee.h" +#include "Behaviors/BehaviorWanderer.h" +#include "Behaviors/BehaviorAggressive.h" @@ -21,6 +23,13 @@ public: virtual void SpawnOn(cClientHandle & a_ClientHandle) override; virtual bool IsUndead(void) override { return true; } + + // tick behaviors + cBehaviorAttackerMelee m_BehaviorAttackerMelee; + cBehaviorWanderer m_BehaviorWanderer; + + // other behaviors + cBehaviorAggressive m_BehaviorAggressive; } ; |