CreatureLib/src/Library/Items/Item.cpp

6 lines
155 B
C++

#include "Item.hpp"
bool CreatureLib::Library::Item::HasFlag(const std::string& flag) const {
return this->_flags.find(flag) != this->_flags.end();
}