Support for learnable moves
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:
24
src/Library/LibrarySettings.hpp
Normal file
24
src/Library/LibrarySettings.hpp
Normal 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
|
||||
Reference in New Issue
Block a user