2020-02-29 13:09:03 +00:00
|
|
|
#include "../../src/Library/LibrarySettings.hpp"
|
2020-07-31 08:51:03 +00:00
|
|
|
#include "../Core.hpp"
|
2020-02-29 16:21:36 +00:00
|
|
|
using namespace CreatureLib::Library;
|
2020-02-29 13:09:03 +00:00
|
|
|
|
2022-04-02 10:33:26 +00:00
|
|
|
export_func const LibrarySettings* CreatureLib_LibrarySettings_Construct(u8 maximalLevel, u8 maximalMoves) {
|
2020-02-29 16:21:36 +00:00
|
|
|
return new LibrarySettings(maximalLevel, maximalMoves);
|
2020-02-29 13:09:03 +00:00
|
|
|
}
|
|
|
|
|
2022-04-02 10:33:26 +00:00
|
|
|
export_func void CreatureLib_LibrarySettings_Destruct(const LibrarySettings* p) { delete p; }
|
2020-02-29 13:09:03 +00:00
|
|
|
|
2020-08-19 18:11:00 +00:00
|
|
|
SIMPLE_GET_FUNC(LibrarySettings, GetMaximalLevel, level_int_t);
|
2022-03-23 12:56:45 +00:00
|
|
|
SIMPLE_GET_FUNC(LibrarySettings, GetMaximalAttacks, u8);
|