OSDN Git Service

[Refactor] #933 Renamed apply-magic-accessory.* to accessory-enchanter-base.*
[hengbandforosx/hengbandosx.git] / src / object-enchant / accessory-enchanter-base.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 typedef struct object_type object_type;
6 typedef struct player_type player_type;
7 class AccessoryEnchanterBase {
8 public:
9     virtual void apply_magic_accessary() = 0;
10
11 protected:
12     AccessoryEnchanterBase() = default;
13     virtual ~AccessoryEnchanterBase() = default;
14     virtual void enchant() = 0;
15     virtual void give_ego_index() = 0;
16     virtual void give_high_ego_index() = 0;
17     virtual void give_cursed() = 0;
18 };