PkmnLib/src/Library/LibrarySettings.hpp
Deukhoofd 2ab9445b71
All checks were successful
continuous-integration/drone/push Build is passing
Implements CInterface core, C Interface for LibrarySettings.
2020-04-14 16:36:54 +02:00

19 lines
593 B
C++

#ifndef PKMNLIB_LIBRARYSETTINGS_HPP
#define PKMNLIB_LIBRARYSETTINGS_HPP
#include <CreatureLib/Library/LibrarySettings.hpp>
namespace PkmnLib::Library {
class LibrarySettings : public CreatureLib::Library::LibrarySettings {
uint16_t _shinyRate;
public:
LibrarySettings(uint8_t maximalLevel, uint8_t maximalMoves, uint16_t shinyRate) noexcept
: CreatureLib::Library::LibrarySettings(maximalLevel, maximalMoves), _shinyRate(shinyRate) {}
uint16_t GetShinyRate() const noexcept { return _shinyRate; }
};
}
#endif // PKMNLIB_LIBRARYSETTINGS_HPP