diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-04-15 22:23:57 -0600 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-04-27 17:02:32 -0600 |
commit | dcc5a8e748736d31d67d54582a96f8b88ec2dd54 (patch) | |
tree | f3942371de9d1cb3fd7b1d447321078ab28fa418 /crawl-ref/source/ranged_attack.h | |
parent | dc91ade0243adba03fa5160dc3f0fb8aac84200c (diff) | |
download | crawl-ref-dcc5a8e748736d31d67d54582a96f8b88ec2dd54.tar.gz crawl-ref-dcc5a8e748736d31d67d54582a96f8b88ec2dd54.zip |
Hook up ranged_attack to the beam code.
Diffstat (limited to 'crawl-ref/source/ranged_attack.h')
-rw-r--r-- | crawl-ref/source/ranged_attack.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/ranged_attack.h b/crawl-ref/source/ranged_attack.h index a8c94403ee..94ea78055b 100644 --- a/crawl-ref/source/ranged_attack.h +++ b/crawl-ref/source/ranged_attack.h @@ -5,10 +5,17 @@ class ranged_attack : public attack { +// Public Properties +public: + int range_used; + // Public Methods public: ranged_attack(actor *attacker, actor *defender, item_def *projectile); + // Applies attack damage and other effects. + bool attack(); + int calc_to_hit(bool); private: |