# Rally Rush: src/rally_rush_game_mode.hpp Source File

Loading...
Searching...
No Matches
rally_rush_game_mode.hpp
Go to the documentation of this file.
#ifndef RALLY_RUSH_GAME_MODE_HPP
#define RALLY_RUSH_GAME_MODE_HPP
#include "utils/game_mode.hpp"
namespace godot {
class RallyRushGameMode : public GameMode {
GDCLASS(RallyRushGameMode, GameMode);
static void _bind_methods();
public:
int get_num_found_keys();
void notify_key_found();
void notify_player_death();
void notify_player_escaped();
void notify_turret_pickup();
void notify_end_turret_pickup();
void notify_shield_pickup();
void notify_end_shield_pickup();
private:
int num_keys_found{0};
};
}
#endif // !RALLY_RUSH_GAME_MODE_HPP
godot::RallyRushGameMode
Game mode for Rally Rush. Mainly serves as a scorekeeper and patchbay for Observers....
Definition rally_rush_game_mode.hpp:8
godot::RallyRushGameMode::notify_key_found
void notify_key_found()
Emit the "key_found" signal.
Definition rally_rush_game_mode.cpp:21
godot::RallyRushGameMode::notify_turret_pickup
void notify_turret_pickup()
Emit the "turret_pickup" signal.
Definition rally_rush_game_mode.cpp:28
godot::RallyRushGameMode::_bind_methods
static void _bind_methods()
Register signals.
Definition rally_rush_game_mode.cpp:7
godot::RallyRushGameMode::get_num_found_keys
int get_num_found_keys()
returns the number of keys picked up so far.
Definition rally_rush_game_mode.cpp:17
godot::RallyRushGameMode::notify_shield_pickup
void notify_shield_pickup()
Emit the "shield_pickup" signal.
Definition rally_rush_game_mode.cpp:36
godot::RallyRushGameMode::GDCLASS
GDCLASS(RallyRushGameMode, GameMode)
godot::RallyRushGameMode::notify_player_escaped
void notify_player_escaped()
Emit the "player_escaped" signal.
Definition rally_rush_game_mode.cpp:49
godot::RallyRushGameMode::notify_end_shield_pickup
void notify_end_shield_pickup()
Emit the "shield_pickup_end" signal.
Definition rally_rush_game_mode.cpp:40
godot::RallyRushGameMode::notify_end_turret_pickup
void notify_end_turret_pickup()
Emit the "turret_pickup_end" signal.
Definition rally_rush_game_mode.cpp:32
godot::RallyRushGameMode::notify_player_death
void notify_player_death()
Emit the "player_death" signal.
Definition rally_rush_game_mode.cpp:45
godot::RallyRushGameMode::num_keys_found
int num_keys_found
The number of keys picked up so far.
Definition rally_rush_game_mode.hpp:31
godot
Definition beacon_powerup.cpp:6