OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Refactor] #3756 ItemEntity::is() とBaseitemKey::is() を定義した
[hengbandforosx/hengbandosx.git]
/
src
/
system
/
item-entity.h
diff --git
a/src/system/item-entity.h
b/src/system/item-entity.h
index
faae4b0
..
edfeec3
100644
(file)
--- a/
src/system/item-entity.h
+++ b/
src/system/item-entity.h
@@
-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;