summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors/BehaviorDayLightBurner.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-08-24 14:50:17 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-08-24 14:50:17 +0200
commit7f5058f1872e1ecc2ea9b897e32708903480e702 (patch)
treeeb413f839b0e36c1bc05cb3c3e6bf2435a70810c /src/Mobs/Behaviors/BehaviorDayLightBurner.h
parentMerge branch 'master' into mobs2 (diff)
downloadcuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.tar
cuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.tar.gz
cuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.tar.bz2
cuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.tar.lz
cuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.tar.xz
cuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.tar.zst
cuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Behaviors/BehaviorDayLightBurner.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Mobs/Behaviors/BehaviorDayLightBurner.h b/src/Mobs/Behaviors/BehaviorDayLightBurner.h
index 77fcce281..0acdeea40 100644
--- a/src/Mobs/Behaviors/BehaviorDayLightBurner.h
+++ b/src/Mobs/Behaviors/BehaviorDayLightBurner.h
@@ -12,13 +12,13 @@ class cChunk;
class cBehaviorDayLightBurner : cBehavior
{
public:
- cBehaviorDayLightBurner(cMonster * a_Parent);
+ void AttachToMonster(cMonster & a_Parent) override;
- void PostTick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk);
+ void PostTick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
bool WouldBurnAt(Vector3d a_Location, cChunk & a_Chunk);
// Functions our host Monster should invoke:
- void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk);
+ void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
private:
cMonster * m_Parent; // Our Parent