chore: some comment updates

This commit is contained in:
Sara 2025-04-04 13:54:36 +02:00
parent dbb956e50b
commit 3534d49d9b

View file

@ -12,8 +12,17 @@ class AreaTransfer : public gd::Area3D {
static void _bind_methods();
public:
virtual void _ready() override;
/** listener connected in _ready
* checks if 'body' is a CharacterUnit, and registers it in ready_units
*/
void _on_body_entered(gd::Node3D *body);
/** listener connected in _ready
* checks if 'body is in the ready_units list, and removes it if so.
*/
void _on_body_exited(gd::Node3D *body);
/** checks if ready_units contains all player units on the field right now
* loads next_scene
*/
void check_all_ready();
void set_next_scene(gd::String path);
gd::String get_next_scene() const;