2020-02-29 13:52:15 +00:00
|
|
|
#include "../../src/Library/AttackLibrary.hpp"
|
2020-07-31 08:51:03 +00:00
|
|
|
#include "../Core.hpp"
|
2020-02-29 13:52:15 +00:00
|
|
|
#include "BaseLibrary.cpp"
|
2020-07-30 18:06:23 +00:00
|
|
|
|
2020-02-29 16:21:36 +00:00
|
|
|
using namespace CreatureLib::Library;
|
2020-02-29 13:52:15 +00:00
|
|
|
|
2020-03-25 18:07:36 +00:00
|
|
|
export uint8_t CreatureLib_AttackLibrary_Construct(AttackLibrary*& library, size_t initialCapacity = 32) {
|
|
|
|
Try(library = 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);
|