summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/actor.h
diff options
context:
space:
mode:
authorEd Gonzalez <ed.gonzalez3@gmail.com>2013-06-11 22:34:44 -0700
committerEd Gonzalez <ed.gonzalez3@gmail.com>2013-06-11 22:34:44 -0700
commit86beeefa6271767b8ef21de6c62c88025249330c (patch)
treea8147ea9995054891fd600a2cf47e9930d7b331d /crawl-ref/source/actor.h
parent0e3f94fd7d1c0be725c99e0eae05cd46c63f8840 (diff)
downloadcrawl-ref-86beeefa6271767b8ef21de6c62c88025249330c.tar.gz
crawl-ref-86beeefa6271767b8ef21de6c62c88025249330c.zip
Added reach_range() to actor and player classes.
Diffstat (limited to 'crawl-ref/source/actor.h')
-rw-r--r--crawl-ref/source/actor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/actor.h b/crawl-ref/source/actor.h
index 59b0973212..4547fe3b38 100644
--- a/crawl-ref/source/actor.h
+++ b/crawl-ref/source/actor.h
@@ -171,6 +171,7 @@ public:
virtual bool can_see_invisible() const = 0;
virtual bool invisible() const = 0;
virtual bool nightvision() const = 0;
+ virtual reach_type reach_range() const = 0;
// Would looker be able to see the actor when in LOS?
virtual bool visible_to(const actor *looker) const = 0;