summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-08-24 09:14:42 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-08-24 09:14:42 +0200
commit3cbb05a941f449a393d11596060ecb5bc4f2b737 (patch)
tree51edc920952cc53dfbb467b63e23b20e31beb46d /src/Mobs/Monster.h
parentEverything now inherits Behavior.h (diff)
downloadcuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.tar
cuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.tar.gz
cuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.tar.bz2
cuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.tar.lz
cuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.tar.xz
cuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.tar.zst
cuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.zip
Diffstat (limited to 'src/Mobs/Monster.h')
-rw-r--r--src/Mobs/Monster.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h
index 11737b5bf..652b0a49f 100644
--- a/src/Mobs/Monster.h
+++ b/src/Mobs/Monster.h
@@ -329,11 +329,14 @@ private:
/** Leash calculations inside Tick function */
void CalcLeashActions();
+ std::vector<cBehavior*> PreTickBehaviors;
std::vector<cBehavior*> TickBehaviors;
+ std::vector<cBehavior*> PostTickBehaviors;
std::vector<cBehavior*> OnDestroyBehaviors;
std::vector<cBehavior*> OnRightClickBehaviors;
cBehavior * m_CurrentTickControllingBehavior;
- enum TickState{ControlStarting, ControlEnding, Normal} m_TickControllingBehaviorState;
+ cBehavior * m_NewTickControllingBehavior;
+ enum TickState{NewControlStarting, OldControlEnding, Normal} m_TickControllingBehaviorState;
} ; // tolua_export