Fixed different sized enums being a problem for AngelScript, minor fixes for Item class
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-01-22 10:33:10 +01:00
parent 9372ba4b27
commit 22648e8617
7 changed files with 117 additions and 42 deletions

View File

@@ -3,7 +3,13 @@
#include <Library/Items/Item.hpp>
namespace PkmnLib::Library {
class Item : public CreatureLib::Library::Item {};
class Item : public CreatureLib::Library::Item {
public:
Item(std::string name, CreatureLib::Library::ItemCategory category,
CreatureLib::Library::BattleItemCategory battleCategory, int32_t price,
std::unordered_set<std::string> flags)
: CreatureLib::Library::Item(name, category, battleCategory, price, flags) {}
};
}
#endif // PKMNLIB_ITEM_HPP