]> git.localhorst.tv Git - l2e.git/blobdiff - src/map/Entity.h
begun monster vicinity checking
[l2e.git] / src / map / Entity.h
index 92b1b7cf1a4ccf6cff5d3b8776ab35cd6594ba84..872ad0c92ed739ea1e714da24b132d1870223e3d 100644 (file)
@@ -56,6 +56,10 @@ public:
 
        void SetFlags(int f) { flags = f; }
        bool Blocking() const { return !(flags & FLAG_NONBLOCKING); }
+       bool Hostile() const {
+               // NOTE: this is a stub for testing!
+               return Blocking();
+       }
 
        Entity *Follower() { return follower; }
        const Entity *Follower() const { return follower; }