begin network

This commit is contained in:
2024-08-16 19:00:45 +02:00
parent 65e2a0b3ce
commit 3769fd3ace
18 changed files with 305 additions and 77 deletions

20
src/World.h Normal file
View File

@@ -0,0 +1,20 @@
#pragma once
#include <godot_cpp/classes/node3d.hpp>
namespace blitz {
class World : public godot::Node3D {
GDCLASS(World, godot::Node3D)
protected:
static void _bind_methods();
public:
World();
~World();
void _process(float delta);
void AddPlayer(int32_t a_PlayerId, godot::String a_PlayerName);
void RemovePlayer(int32_t a_PlayerId);
};
} // namespace blitz