2020-01-02 17:02:40 +00:00
|
|
|
#ifndef PKMNLIB_LEARNEDMOVE_HPP
|
|
|
|
#define PKMNLIB_LEARNEDMOVE_HPP
|
|
|
|
|
|
|
|
#include <Battling/Models/LearnedAttack.hpp>
|
|
|
|
#include "../../Library/Moves/MoveData.hpp"
|
|
|
|
namespace PkmnLib::Battling {
|
|
|
|
class LearnedMove : public CreatureLib::Battling::LearnedAttack {
|
2020-01-26 14:18:04 +00:00
|
|
|
public:
|
2020-01-02 17:02:40 +00:00
|
|
|
LearnedMove(const Library::MoveData* move, CreatureLib::Battling::AttackLearnMethod learnMethod)
|
2020-01-26 14:18:04 +00:00
|
|
|
: CreatureLib::Battling::LearnedAttack(move, learnMethod) {}
|
|
|
|
|
|
|
|
const Library::MoveData* GetMoveData() const { return dynamic_cast<const Library::MoveData*>(GetAttack()); }
|
2020-01-02 17:02:40 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // PKMNLIB_LEARNEDMOVE_HPP
|