summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-08-22 16:41:48 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-08-22 19:55:30 +0200
commit9711b06578e25fb92c8e6d10bd0f12bf593ed9db (patch)
treeb84d626e2216dc4010eef3060c950cc43c560e9e /src/Mobs/Monster.h
parentd (diff)
downloadcuberite-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/Monster.h')
-rw-r--r--src/Mobs/Monster.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h
index a9669ced9..22c8dfded 100644
--- a/src/Mobs/Monster.h
+++ b/src/Mobs/Monster.h
@@ -145,9 +145,6 @@ public:
void SetCanPickUpLoot(bool a_CanPickUpLoot) { m_CanPickUpLoot = a_CanPickUpLoot; }
void ResetAttackCooldown();
- /** Sets whether the mob burns in daylight. Only evaluated at next burn-decision tick */
- void SetBurnsInDaylight(bool a_BurnsInDaylight) { m_BurnsInDaylight = a_BurnsInDaylight; }
-
double GetRelativeWalkSpeed(void) const { return m_RelativeWalkSpeed; } // tolua_export
void SetRelativeWalkSpeed(double a_WalkSpeed) { m_RelativeWalkSpeed = a_WalkSpeed; } // tolua_export
@@ -228,9 +225,10 @@ public:
virtual cBehaviorChaser * GetBehaviorChaser();
virtual cBehaviorStriker * GetBehaviorStriker();
virtual cBehaviorWanderer * GetBehaviorWanderer();
+ virtual cBehaviorWanderer * GetBehaviorDaylightBurner();
// Polymorphic behavior functions ("Skin-specific")
- virtual void InheritFromParents(cPassiveMonster * a_Parent1, cPassiveMonster * a_Parent2);
+ virtual void InheritFromParents(cMonster * a_Parent1, cMonster * a_Parent2);
virtual void GetFollowedItems(cItems & a_Items);
virtual void GetBreedingItems(cItems & a_Items);
@@ -315,7 +313,6 @@ public:
void HandleDaylightBurning(cChunk & a_Chunk, bool WouldBurn);
bool WouldBurnAt(Vector3d a_Location, cChunk & a_Chunk);
- bool m_BurnsInDaylight;
double m_RelativeWalkSpeed;
int m_Age;