Initial support for learned moves
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
17
src/Library/Living/LearnedAttack.hpp
Normal file
17
src/Library/Living/LearnedAttack.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef CREATURELIB_LEARNEDATTACK_HPP
|
||||
#define CREATURELIB_LEARNEDATTACK_HPP
|
||||
|
||||
#include "../Attacks/AttackData.hpp"
|
||||
|
||||
namespace CreatureLib::Library{
|
||||
class LearnedAttack {
|
||||
const AttackData* _attack;
|
||||
const uint8_t _maxUses;
|
||||
const uint8_t _remainingUses;
|
||||
public:
|
||||
LearnedAttack(AttackData* attack, uint8_t maxUses);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
#endif //CREATURELIB_LEARNEDATTACK_HPP
|
||||
Reference in New Issue
Block a user