Implemented structure relocation

This commit is contained in:
2024-07-25 21:07:59 +03:00
parent 144f45d522
commit 42ac0f19ca
8 changed files with 630 additions and 64 deletions

View File

@@ -15,6 +15,7 @@ private:
Node *current_scene;
struct building {
String id;
String key;
Transform xform;
AABB aabb;
};
@@ -57,10 +58,11 @@ private:
void unload_building(int id);
void request_item(int type, int item);
void update_items();
void run_command(const String &command, const Array &args);
static void _bind_methods();
public:
void run_command(const String &command, const Array &args);
StreamWorld();
~StreamWorld();
static void cleanup();