summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ray.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/ray.h')
-rw-r--r--crawl-ref/source/ray.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/ray.h b/crawl-ref/source/ray.h
index d2bcb0c1e1..ad77e730d4 100644
--- a/crawl-ref/source/ray.h
+++ b/crawl-ref/source/ray.h
@@ -27,6 +27,10 @@ struct ray_def
void bounce(const reflect_grid &rg);
void regress();
+ // Get and set the direction.
+ double get_degrees() const;
+ void set_degrees(double d);
+
bool _valid() const;
};