generated from Persson-dev/Godot-Xmake
begin network
This commit is contained in:
20
src/World.h
Normal file
20
src/World.h
Normal 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
|
||||
Reference in New Issue
Block a user