diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-23 18:08:48 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-23 18:08:48 +0200 |
commit | 978663b725dd2a7b756b4fcecf0453e42ce16b79 (patch) | |
tree | 9d8bdac1a21de5f8bbb9b2142832516d2c04f816 /src/Mobs/Behaviors/BehaviorItemFollower.h | |
parent | d (diff) | |
download | cuberite-978663b725dd2a7b756b4fcecf0453e42ce16b79.tar cuberite-978663b725dd2a7b756b4fcecf0453e42ce16b79.tar.gz cuberite-978663b725dd2a7b756b4fcecf0453e42ce16b79.tar.bz2 cuberite-978663b725dd2a7b756b4fcecf0453e42ce16b79.tar.lz cuberite-978663b725dd2a7b756b4fcecf0453e42ce16b79.tar.xz cuberite-978663b725dd2a7b756b4fcecf0453e42ce16b79.tar.zst cuberite-978663b725dd2a7b756b4fcecf0453e42ce16b79.zip |
Diffstat (limited to 'src/Mobs/Behaviors/BehaviorItemFollower.h')
-rw-r--r-- | src/Mobs/Behaviors/BehaviorItemFollower.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/Mobs/Behaviors/BehaviorItemFollower.h b/src/Mobs/Behaviors/BehaviorItemFollower.h index ee2bda638..09acfe473 100644 --- a/src/Mobs/Behaviors/BehaviorItemFollower.h +++ b/src/Mobs/Behaviors/BehaviorItemFollower.h @@ -1,24 +1,26 @@ #pragma once // Makes the mob follow specific held items - class cBehaviorItemFollower; -//fwds + +#include "Behavior.h" + +// fwds class cMonster; class cItems; class cBehaviorItemFollower { public: - cBehaviorItemFollower(cMonster * a_Parent); + cBehaviorItemFollower(cMonster * a_Parent); - void GetBreedingItems(cItems & a_Items); + void GetBreedingItems(cItems & a_Items); - // Functions our host Monster should invoke: - bool ActiveTick(); + // Functions our host Monster should invoke: + void Tick(); private: - /** Our parent */ - cMonster * m_Parent; + /** Our parent */ + cMonster * m_Parent; }; |