2020-02-29 13:52:15 +00:00
|
|
|
#include "../../src/Library/AttackLibrary.hpp"
|
|
|
|
#include "BaseLibrary.cpp"
|
|
|
|
#define export extern "C"
|
2020-02-29 16:21:36 +00:00
|
|
|
using namespace CreatureLib::Library;
|
2020-02-29 13:52:15 +00:00
|
|
|
|
2020-02-29 16:21:36 +00:00
|
|
|
export const AttackLibrary* CreatureLib_AttackLibrary_Construct(size_t initialCapacity = 32) {
|
|
|
|
return new AttackLibrary(initialCapacity);
|
2020-02-29 13:52:15 +00:00
|
|
|
};
|
|
|
|
|
2020-02-29 16:21:36 +00:00
|
|
|
export void CreatureLib_AttackLibrary_Destruct(const AttackLibrary* p) { delete p; }
|
2020-02-29 13:52:15 +00:00
|
|
|
|
2020-02-29 16:21:36 +00:00
|
|
|
BASELIBRARY(CreatureLib_AttackLibrary, AttackLibrary, AttackData);
|