diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-22 19:54:36 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-22 19:55:30 +0200 |
commit | 10a5271501670fc5f7066bbeefc63cd106351672 (patch) | |
tree | 9bc1ef775ae6ded57b465266c01cd83b664747ed /src/Mobs/Behaviors/BehaviorDayLightBurner.h | |
parent | d (diff) | |
download | cuberite-10a5271501670fc5f7066bbeefc63cd106351672.tar cuberite-10a5271501670fc5f7066bbeefc63cd106351672.tar.gz cuberite-10a5271501670fc5f7066bbeefc63cd106351672.tar.bz2 cuberite-10a5271501670fc5f7066bbeefc63cd106351672.tar.lz cuberite-10a5271501670fc5f7066bbeefc63cd106351672.tar.xz cuberite-10a5271501670fc5f7066bbeefc63cd106351672.tar.zst cuberite-10a5271501670fc5f7066bbeefc63cd106351672.zip |
Diffstat (limited to 'src/Mobs/Behaviors/BehaviorDayLightBurner.h')
-rw-r--r-- | src/Mobs/Behaviors/BehaviorDayLightBurner.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Mobs/Behaviors/BehaviorDayLightBurner.h b/src/Mobs/Behaviors/BehaviorDayLightBurner.h index b54a863af..d967b5f68 100644 --- a/src/Mobs/Behaviors/BehaviorDayLightBurner.h +++ b/src/Mobs/Behaviors/BehaviorDayLightBurner.h @@ -1,16 +1,20 @@ #pragma once +// mobTodo I just need vector3d +#include "../../World.h" + // fwds class cMonster; class cEntity; class cChunk; -class Vector3d; class cBehaviorDayLightBurner { +public: cBehaviorDayLightBurner(cMonster * a_Parent); - bool WouldBurnAt(Vector3d & a_Location, cChunk & a_Chunk); + void Tick(cChunk & a_Chunk, bool WouldBurn); + bool WouldBurnAt(Vector3d a_Location, cChunk & a_Chunk); // Functions our host Monster should invoke: void Tick(); |