OSDN Git Service

[Refactor] #3756 ItemEntity::is() とBaseitemKey::is() を定義した
[hengbandforosx/hengbandosx.git] / src / system / item-entity.h
index faae4b0..edfeec3 100644 (file)
@@ -77,6 +77,7 @@ public:
     void wipe();
     void copy_from(const ItemEntity *j_ptr);
     void prep(short new_bi_id);
+    bool is(ItemKindType tval) const;
     bool is_weapon() const;
     bool is_weapon_ammo() const;
     bool is_weapon_armour_ammo() const;