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:
@@ -1,16 +1,8 @@
|
||||
#include "CreatureMoves.hpp"
|
||||
#include <utility>
|
||||
|
||||
CreatureLib::Library::LevelMove::LevelMove(uint8_t level, std::string name)
|
||||
:_level(level),
|
||||
_name(std::move(name))
|
||||
{}
|
||||
CreatureLib::Library::LevelMove::LevelMove(uint8_t level, std::string name) : _level(level), _name(std::move(name)) {}
|
||||
|
||||
uint8_t CreatureLib::Library::LevelMove::GetLevel() const {
|
||||
return this->_level;
|
||||
}
|
||||
|
||||
std::string CreatureLib::Library::LevelMove::GetName() const {
|
||||
return this->_name;
|
||||
}
|
||||
uint8_t CreatureLib::Library::LevelMove::GetLevel() const { return this->_level; }
|
||||
|
||||
std::string CreatureLib::Library::LevelMove::GetName() const { return this->_name; }
|
||||
|
||||
Reference in New Issue
Block a user