13 lines
753 B
C++
13 lines
753 B
C++
#include "MoveData.hpp"
|
|
#include <unitypes.h>
|
|
PkmnLib::Library::MoveData::MoveData(std::string name, std::string type, PkmnLib::Library::MoveCategory category,
|
|
uint8_t power, uint8_t accuracy, uint8_t baseUsage,
|
|
CreatureLib::Library::AttackTarget target, uint8_t priority,
|
|
std::unordered_set<std::string> flags)
|
|
: AttackData(name, type, static_cast<CreatureLib::Library::AttackCategory>(category), power, accuracy, baseUsage,
|
|
target, priority, flags) {}
|
|
|
|
PkmnLib::Library::MoveCategory PkmnLib::Library::MoveData::GetCategory() const {
|
|
return static_cast<PkmnLib::Library::MoveCategory>(AttackData::GetCategory());
|
|
}
|