generated from Persson-dev/Godot-Xmake
All checks were successful
Linux arm64 / Build (pull_request) Successful in 1m31s
21 lines
379 B
C++
21 lines
379 B
C++
#include <blitz/godot/World.h>
|
|
|
|
namespace blitz {
|
|
|
|
class ClientWorld : public World {
|
|
GDCLASS(ClientWorld, World)
|
|
protected:
|
|
static void _bind_methods();
|
|
|
|
public:
|
|
ClientWorld();
|
|
~ClientWorld();
|
|
void _process(float delta);
|
|
|
|
void HandlePacket(const protocol::packets::PlayerPositionAndRotation&) override;
|
|
|
|
private:
|
|
void UpdatePlayerPos();
|
|
};
|
|
|
|
} // namespace blitz
|