From 90d8d626a011b10560ec794ee0a06a802ffa940a Mon Sep 17 00:00:00 2001 From: Sara Date: Tue, 16 Apr 2024 11:44:58 +0200 Subject: [PATCH] feat: Player now requires spawn_at_position(Transform3D) --- player.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/player.hpp b/player.hpp index b66897d..5a22ea2 100644 --- a/player.hpp +++ b/player.hpp @@ -3,6 +3,8 @@ #include #include +#include + 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();