Support for learnable moves
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2019-10-24 11:04:19 +02:00
parent cfb7663d78
commit bb8978314f
15 changed files with 155 additions and 23 deletions

View File

@@ -0,0 +1,24 @@
#ifndef CREATURELIB_LIBRARYSETTINGS_HPP
#define CREATURELIB_LIBRARYSETTINGS_HPP
#include <cstdint>
namespace CreatureLib::Library {
class LibrarySettings{
uint8_t _maximalLevel;
uint8_t _maximalMoves;
public:
LibrarySettings(uint8_t maximalLevel, uint8_t maximalMoves)
: _maximalLevel(maximalLevel), _maximalMoves(maximalMoves){}
inline uint8_t GetMaximalLevel() const{
return _maximalLevel;
}
inline uint8_t GetMaximalMoves() const{
return _maximalMoves;
}
};
}
#endif //CREATURELIB_LIBRARYSETTINGS_HPP