feat: Player now requires spawn_at_position(Transform3D)

stripped
Sara 2024-04-16 11:44:58 +02:00
parent 78e6bb2cf1
commit 90d8d626a0
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,8 @@
#include <cstdint>
#include <optional>
#include <godot_cpp/variant/transform3d.hpp>
namespace godot {
class PlayerInput;
class Node;
@ -12,6 +14,7 @@ friend class GameRoot;
public:
virtual void setup_player_input(PlayerInput *input) = 0;
virtual Node *to_node() = 0;
virtual void spawn_at_position(Transform3D const &at) = 0;
uint32_t get_player_id();