add player won signal

This commit is contained in:
Chris Cromer 2022-08-31 00:24:38 -04:00
parent 8863a74c09
commit ee34563424
Signed by: cromer
GPG Key ID: FA91071797BEEEC2

View File

@ -7,7 +7,7 @@ void alai::Event::_register_methods()
godot::register_signal<Event>("object_removed", "name", GODOT_VARIANT_TYPE_STRING); godot::register_signal<Event>("object_removed", "name", GODOT_VARIANT_TYPE_STRING);
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");
} }
alai::Event::Event() alai::Event::Event()