godot-cpp-utils
A collection of utility classes, functions and macros for use with Godot and GDExtension.
Loading...
Searching...
No Matches
spawn_point.hpp
1#ifndef UTILS_SPAWN_POINT_HPP
2#define UTILS_SPAWN_POINT_HPP
3
4#include <godot_cpp/classes/node3d.hpp>
5
6namespace gd = godot;
7
8namespace utils {
13class SpawnPoint3D : public gd::Node3D {
14 GDCLASS(SpawnPoint3D, gd::Node3D);
15 static void _bind_methods();
16public:
17 virtual void _enter_tree() override;
18 virtual void _exit_tree() override;
19};
20}
21
22#endif // !UTILS_SPAWN_POINT_HPP
A location in the game world that the player can spawn at.
Definition spawn_point.hpp:13