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();