Used ClangFormat style guide I'm happy with.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -2,10 +2,8 @@
|
||||
|
||||
using namespace CreatureLib::Library;
|
||||
|
||||
void LearnableAttacks::AddLevelMove(uint8_t level, AttackData *attack) {
|
||||
_learnedByLevel[level].push_back(attack);
|
||||
}
|
||||
void LearnableAttacks::AddLevelMove(uint8_t level, AttackData* attack) { _learnedByLevel[level].push_back(attack); }
|
||||
|
||||
const std::vector<const AttackData *> &LearnableAttacks::GetMovesForLevel(uint8_t level) const {
|
||||
const std::vector<const AttackData*>& LearnableAttacks::GetMovesForLevel(uint8_t level) const {
|
||||
return _learnedByLevel[level];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user