diff options
author | archshift <admin@archshift.com> | 2014-04-25 21:59:55 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-04-26 00:49:11 +0200 |
commit | 5ffdaa8142da27c68f467f26c4f28129865b7bf9 (patch) | |
tree | 99487f8452bca24965e2a0e17882d1e5733b74aa /src/Mobs/AggressiveMonster.h | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | cuberite-5ffdaa8142da27c68f467f26c4f28129865b7bf9.tar cuberite-5ffdaa8142da27c68f467f26c4f28129865b7bf9.tar.gz cuberite-5ffdaa8142da27c68f467f26c4f28129865b7bf9.tar.bz2 cuberite-5ffdaa8142da27c68f467f26c4f28129865b7bf9.tar.lz cuberite-5ffdaa8142da27c68f467f26c4f28129865b7bf9.tar.xz cuberite-5ffdaa8142da27c68f467f26c4f28129865b7bf9.tar.zst cuberite-5ffdaa8142da27c68f467f26c4f28129865b7bf9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/AggressiveMonster.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Mobs/AggressiveMonster.h b/src/Mobs/AggressiveMonster.h index 152260f95..c66452360 100644 --- a/src/Mobs/AggressiveMonster.h +++ b/src/Mobs/AggressiveMonster.h @@ -22,6 +22,10 @@ public: virtual void EventSeePlayer(cEntity *) override; virtual void Attack(float a_Dt); +protected: + /* Whether this mob's destination is the same as its target's position. */ + bool IsMovingToTargetPosition(); + } ; |