1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef PLAYER_CONTROLLER_H #define PLAYER_CONTROLLER_H #include <Godot.hpp> #include <RigidBody.hpp> namespace godot { class PlayerController : public RigidBody { GODOT_CLASS(PlayerController, RigidBody) private: String public: static void _register_methods(); PlayerController(); ~PlayerController();