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:
@@ -4,21 +4,18 @@
|
||||
#include <cstdint>
|
||||
|
||||
namespace CreatureLib::Library {
|
||||
class LibrarySettings{
|
||||
class LibrarySettings {
|
||||
uint8_t _maximalLevel;
|
||||
uint8_t _maximalMoves;
|
||||
|
||||
public:
|
||||
LibrarySettings(uint8_t maximalLevel, uint8_t maximalMoves)
|
||||
: _maximalLevel(maximalLevel), _maximalMoves(maximalMoves){}
|
||||
: _maximalLevel(maximalLevel), _maximalMoves(maximalMoves) {}
|
||||
|
||||
inline uint8_t GetMaximalLevel() const{
|
||||
return _maximalLevel;
|
||||
}
|
||||
inline uint8_t GetMaximalLevel() const { return _maximalLevel; }
|
||||
|
||||
inline uint8_t GetMaximalMoves() const{
|
||||
return _maximalMoves;
|
||||
}
|
||||
inline uint8_t GetMaximalMoves() const { return _maximalMoves; }
|
||||
};
|
||||
}
|
||||
|
||||
#endif //CREATURELIB_LIBRARYSETTINGS_HPP
|
||||
#endif // CREATURELIB_LIBRARYSETTINGS_HPP
|
||||
|
||||
Reference in New Issue
Block a user