Implements CInterface core, C Interface for LibrarySettings.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-04-14 16:36:54 +02:00
parent 24245957a5
commit 2ab9445b71
6 changed files with 59 additions and 4 deletions

View File

@@ -8,10 +8,10 @@ namespace PkmnLib::Library {
uint16_t _shinyRate;
public:
LibrarySettings(uint8_t maximalLevel, uint8_t maximalMoves, uint16_t shinyRate)
LibrarySettings(uint8_t maximalLevel, uint8_t maximalMoves, uint16_t shinyRate) noexcept
: CreatureLib::Library::LibrarySettings(maximalLevel, maximalMoves), _shinyRate(shinyRate) {}
uint16_t GetShinyRate() const { return _shinyRate; }
uint16_t GetShinyRate() const noexcept { return _shinyRate; }
};
}

View File

@@ -1 +0,0 @@
#include "PokemonLibrary.hpp"