OSDN Git Service

Merge pull request #3569 from sikabane-works/release/3.0.0.88-alpha
[hengbandforosx/hengbandosx.git] / src / spell-class / spells-mirror-master.h
1 #pragma once
2
3 class PlayerType;
4 struct ProjectResult;
5 class SpellsMirrorMaster {
6 public:
7     SpellsMirrorMaster(PlayerType *player_ptr);
8     void remove_all_mirrors(bool explode);
9     void remove_mirror(int y, int x);
10     bool mirror_tunnel();
11     bool place_mirror();
12     bool mirror_concentration();
13     void seal_of_mirror(const int dam);
14     void seeker_ray(int dir, int dam);
15     void super_ray(int dir, int dam);
16
17 private:
18     PlayerType *player_ptr;
19     void next_mirror(int *next_y, int *next_x, int cury, int curx);
20     void project_seeker_ray(int target_x, int target_y, int dam);
21     void project_super_ray(int target_x, int target_y, int dam);
22 };