Player touched signal added

This commit is contained in:
Martin Araneda 2022-09-01 16:37:50 -04:00
parent 2e07679b52
commit 1f63f5e00a

View File

@ -11,6 +11,8 @@ void alai::Event::_register_methods()
godot::register_signal<Event>("coin_collected", "amount", GODOT_VARIANT_TYPE_INT); godot::register_signal<Event>("coin_collected", "amount", GODOT_VARIANT_TYPE_INT);
godot::register_signal<Event>("player_died"); godot::register_signal<Event>("player_died");
godot::register_signal<Event>("player_won"); godot::register_signal<Event>("player_won");
godot::register_signal<Event>("player_touched", "damage", GODOT_VARIANT_TYPE_INT);
} }
alai::Event::Event() alai::Event::Event()