feat: registered types StateMachine PlayerState and FollowingPlayer

This commit is contained in:
Sara 2024-03-22 00:16:52 +01:00
parent 078f0424dd
commit 7f2ec153d5

View file

@ -4,7 +4,10 @@
#include "health.hpp"
#include "pellet_projectile.hpp"
#include "player_character.hpp"
#include "player_states.hpp"
#include "projectile_pool.hpp"
#include "state.hpp"
#include "state_machine.hpp"
#include "tunnels_game_mode.hpp"
#include "tunnels_game_state.hpp"
#include "tunnels_player.hpp"
@ -51,6 +54,10 @@ void initialize_gdextension_types(ModuleInitializationLevel p_level)
ClassDB::register_class<Projectile>();
ClassDB::register_class<PelletProjectile>();
ClassDB::register_class<StateMachine>();
ClassDB::register_class<PlayerState>();
ClassDB::register_class<FollowingPlayer>();
}
extern "C"