diff options
Diffstat (limited to 'example/example.cpp')
| -rw-r--r-- | example/example.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/example/example.cpp b/example/example.cpp index 7b82ebc..17a79a3 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -2,6 +2,7 @@ #include "example.hpp" #include "components.hpp" +#include "vendor/pk.h" void OnEntityTypeCollision(const void *lhs, const void *rhs) { fprintf(stdout, "[Example::OnEntityTypeCollision] Called\n"); @@ -14,7 +15,7 @@ void OnEntityCollision(const void *lhs, const void *rhs) { void OnInit() { // create/register entity types pkePluginInterface.PkeEntityInterfaceCount = 1; - pkePluginInterface.PkeEntityInterface = Pke_New<PkeEntityTypeInterface>(1); + pkePluginInterface.PkeEntityInterface = pk_new<PkeEntityTypeInterface>(1); // set up entity types auto *typeIntfs = reinterpret_cast<PkeEntityTypeInterface *>(pkePluginInterface.PkeEntityInterface); |
