diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-22 16:41:48 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-22 19:55:30 +0200 |
commit | 9711b06578e25fb92c8e6d10bd0f12bf593ed9db (patch) | |
tree | b84d626e2216dc4010eef3060c950cc43c560e9e /src/Mobs/Behaviors/BehaviorDayLightBurner.h | |
parent | d (diff) | |
download | cuberite-9711b06578e25fb92c8e6d10bd0f12bf593ed9db.tar cuberite-9711b06578e25fb92c8e6d10bd0f12bf593ed9db.tar.gz cuberite-9711b06578e25fb92c8e6d10bd0f12bf593ed9db.tar.bz2 cuberite-9711b06578e25fb92c8e6d10bd0f12bf593ed9db.tar.lz cuberite-9711b06578e25fb92c8e6d10bd0f12bf593ed9db.tar.xz cuberite-9711b06578e25fb92c8e6d10bd0f12bf593ed9db.tar.zst cuberite-9711b06578e25fb92c8e6d10bd0f12bf593ed9db.zip |
Diffstat (limited to 'src/Mobs/Behaviors/BehaviorDayLightBurner.h')
-rw-r--r-- | src/Mobs/Behaviors/BehaviorDayLightBurner.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Mobs/Behaviors/BehaviorDayLightBurner.h b/src/Mobs/Behaviors/BehaviorDayLightBurner.h index 9d4cbe874..b54a863af 100644 --- a/src/Mobs/Behaviors/BehaviorDayLightBurner.h +++ b/src/Mobs/Behaviors/BehaviorDayLightBurner.h @@ -1,5 +1,21 @@ +#pragma once + +// fwds +class cMonster; +class cEntity; +class cChunk; +class Vector3d; class cBehaviorDayLightBurner { + cBehaviorDayLightBurner(cMonster * a_Parent); + + bool WouldBurnAt(Vector3d & a_Location, cChunk & a_Chunk); + + // Functions our host Monster should invoke: + void Tick(); +private: + cMonster * m_Parent; // Our Parent + cEntity * m_Attacker; // The entity we're running away from }; |