feat: Player now requires spawn_at_position(Transform3D)
parent
78e6bb2cf1
commit
90d8d626a0
|
@ -3,6 +3,8 @@
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
|
#include <godot_cpp/variant/transform3d.hpp>
|
||||||
|
|
||||||
namespace godot {
|
namespace godot {
|
||||||
class PlayerInput;
|
class PlayerInput;
|
||||||
class Node;
|
class Node;
|
||||||
|
@ -12,6 +14,7 @@ friend class GameRoot;
|
||||||
public:
|
public:
|
||||||
virtual void setup_player_input(PlayerInput *input) = 0;
|
virtual void setup_player_input(PlayerInput *input) = 0;
|
||||||
virtual Node *to_node() = 0;
|
virtual Node *to_node() = 0;
|
||||||
|
virtual void spawn_at_position(Transform3D const &at) = 0;
|
||||||
|
|
||||||
uint32_t get_player_id();
|
uint32_t get_player_id();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue