diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-29 18:53:06 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-29 18:53:06 +0200 |
commit | a53d1051d9033a1be708b76b8a50bca6f5d2bbd9 (patch) | |
tree | 698439a8455592d4d9cbf6b23835eea5e0ca8a18 /src/Mobs/Behaviors/BehaviorItemDropper.h | |
parent | Merge branch 'master' into mobs2 (diff) | |
download | cuberite-a53d1051d9033a1be708b76b8a50bca6f5d2bbd9.tar cuberite-a53d1051d9033a1be708b76b8a50bca6f5d2bbd9.tar.gz cuberite-a53d1051d9033a1be708b76b8a50bca6f5d2bbd9.tar.bz2 cuberite-a53d1051d9033a1be708b76b8a50bca6f5d2bbd9.tar.lz cuberite-a53d1051d9033a1be708b76b8a50bca6f5d2bbd9.tar.xz cuberite-a53d1051d9033a1be708b76b8a50bca6f5d2bbd9.tar.zst cuberite-a53d1051d9033a1be708b76b8a50bca6f5d2bbd9.zip |
Diffstat (limited to 'src/Mobs/Behaviors/BehaviorItemDropper.h')
-rw-r--r-- | src/Mobs/Behaviors/BehaviorItemDropper.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Mobs/Behaviors/BehaviorItemDropper.h b/src/Mobs/Behaviors/BehaviorItemDropper.h index 8b1378917..320b0c8d8 100644 --- a/src/Mobs/Behaviors/BehaviorItemDropper.h +++ b/src/Mobs/Behaviors/BehaviorItemDropper.h @@ -1 +1,15 @@ +#pragma once +// mobTodo a more generic, not chickenspecific dropper +#include "Behavior.h" + +class cBehaviorItemDropper : cBehavior +{ +public: + void AttachToMonster(cMonster & a_Parent); + void PostTick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; + +private: + cMonster * m_Parent; // Our Parent + int m_EggDropTimer; +}; |