diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2014-02-05 07:00:57 +0000 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2014-02-05 07:00:57 +0000 |
commit | ec27df6146c4e4ae8e09cc45bbe6044ecef6a761 (patch) | |
tree | 2adf8a8baeeed24f5f9eb3cc5d727b52058c4a30 /crawl-ref/source/target.h | |
parent | 1805ccd11ca23519b6c4bf939049108f77d76690 (diff) | |
download | crawl-ref-ec27df6146c4e4ae8e09cc45bbe6044ecef6a761.tar.gz crawl-ref-ec27df6146c4e4ae8e09cc45bbe6044ecef6a761.zip |
Add a targeter for explosive bolt
Diffstat (limited to 'crawl-ref/source/target.h')
-rw-r--r-- | crawl-ref/source/target.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/source/target.h b/crawl-ref/source/target.h index c06bd7b207..6fbcce5063 100644 --- a/crawl-ref/source/target.h +++ b/crawl-ref/source/target.h @@ -226,4 +226,14 @@ private: bool immobile; }; +class targetter_explosive_bolt : public targetter_beam +{ +public: + targetter_explosive_bolt(const actor *act, int pow, int range); + bool set_aim(coord_def a); + aff_type is_affected(coord_def loc); +private: + explosion_map exp_map; +}; + #endif |