# Rally Rush: src/exit_trigger.hpp Source File

Loading...
Searching...
No Matches
exit_trigger.hpp
Go to the documentation of this file.
#ifndef EXIT_TRIGGER_HPP
#define EXIT_TRIGGER_HPP
#include <godot_cpp/classes/area3d.hpp>
namespace godot {
class ExitTrigger : public Area3D {
GDCLASS(ExitTrigger, Area3D);
static void _bind_methods();
public:
virtual void _enter_tree() override;
void body_entered(Node3D *node);
};
}
#endif // !EXIT_TRIGGER_HPP
godot::ExitTrigger
Area3D that notifies the RallyRushGameMode that the player has exited the game when hit by the CarPla...
Definition exit_trigger.hpp:8
godot::ExitTrigger::_enter_tree
virtual void _enter_tree() override
Connect body_entered observer.
Definition exit_trigger.cpp:12
godot::ExitTrigger::GDCLASS
GDCLASS(ExitTrigger, Area3D)
godot::ExitTrigger::_bind_methods
static void _bind_methods()
Required to be a valid godot class.
Definition exit_trigger.cpp:8
godot::ExitTrigger::body_entered
void body_entered(Node3D *node)
If the entered body is a CarPlayer and the player has found 3 keys, notify the RallyRushGameMode that...
Definition exit_trigger.cpp:16
godot
Definition beacon_powerup.cpp:6