19 lines
563 B
C++
19 lines
563 B
C++
|
#ifndef PKMNLIB_LIBRARYSETTINGS_HPP
|
||
|
#define PKMNLIB_LIBRARYSETTINGS_HPP
|
||
|
|
||
|
#include <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)
|
||
|
: CreatureLib::Library::LibrarySettings(maximalLevel, maximalMoves), _shinyRate(shinyRate) {}
|
||
|
|
||
|
uint16_t GetShinyRate() const { return _shinyRate; }
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif // PKMNLIB_LIBRARYSETTINGS_HPP
|