123 lines
13 KiB
HTML
123 lines
13 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.7"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>Rally Rush: src/rally_rush_game_mode.hpp Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">Rally Rush
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.7 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">rally_rush_game_mode.hpp</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="rally__rush__game__mode_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef RALLY_RUSH_GAME_MODE_HPP</span></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define RALLY_RUSH_GAME_MODE_HPP</span></div>
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include "utils/game_mode.hpp"</span></div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span> </div>
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacegodot.html">godot</a> {</div>
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"><a class="line" href="classgodot_1_1RallyRushGameMode.html"> 8</a></span><span class="keyword">class </span><a class="code hl_class" href="classgodot_1_1RallyRushGameMode.html">RallyRushGameMode</a> : <span class="keyword">public</span> GameMode {</div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"><a class="line" href="classgodot_1_1RallyRushGameMode.html#ac8640dc6d91b8bdf52a9ef25eeac2ec0"> 9</a></span> <a class="code hl_function" href="classgodot_1_1RallyRushGameMode.html#ac8640dc6d91b8bdf52a9ef25eeac2ec0">GDCLASS</a>(<a class="code hl_class" href="classgodot_1_1RallyRushGameMode.html">RallyRushGameMode</a>, GameMode);</div>
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1RallyRushGameMode.html#a72c2b18d2eb21b7f42093fce4577c5f5">_bind_methods</a>();</div>
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classgodot_1_1RallyRushGameMode.html#a9e7dceee50644dfcf573e7a84e991837">get_num_found_keys</a>();</div>
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1RallyRushGameMode.html#a2600dd7d4a715beb874a10db700b51ae">notify_key_found</a>();</div>
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1RallyRushGameMode.html#aee17d5a7b247ad37436fde5f4f05bded">notify_player_death</a>();</div>
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1RallyRushGameMode.html#acf7a19191c4edd2c0d46e0f1c251ae68">notify_player_escaped</a>();</div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1RallyRushGameMode.html#a6255d285840ebbf45acba11c9b67acfc">notify_turret_pickup</a>();</div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1RallyRushGameMode.html#ade60aedb2170f955444b2281bb4c14c4">notify_end_turret_pickup</a>();</div>
|
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1RallyRushGameMode.html#abb8a6cec45311f3592c876d07811876b">notify_shield_pickup</a>();</div>
|
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1RallyRushGameMode.html#ad40caf626da1cdce94a17d12375eff62">notify_end_shield_pickup</a>();</div>
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="keyword">private</span>:</div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="classgodot_1_1RallyRushGameMode.html#aef57c461fed7ec6fae6cdc66b3367bee"> 31</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="classgodot_1_1RallyRushGameMode.html#aef57c461fed7ec6fae6cdc66b3367bee">num_keys_found</a>{0};</div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span>};</div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span>}</div>
|
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
|
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="preprocessor">#endif </span><span class="comment">// !RALLY_RUSH_GAME_MODE_HPP</span></div>
|
|
<div class="ttc" id="aclassgodot_1_1RallyRushGameMode_html"><div class="ttname"><a href="classgodot_1_1RallyRushGameMode.html">godot::RallyRushGameMode</a></div><div class="ttdoc">Game mode for Rally Rush. Mainly serves as a scorekeeper and patchbay for Observers....</div><div class="ttdef"><b>Definition</b> rally_rush_game_mode.hpp:8</div></div>
|
|
<div class="ttc" id="aclassgodot_1_1RallyRushGameMode_html_a2600dd7d4a715beb874a10db700b51ae"><div class="ttname"><a href="classgodot_1_1RallyRushGameMode.html#a2600dd7d4a715beb874a10db700b51ae">godot::RallyRushGameMode::notify_key_found</a></div><div class="ttdeci">void notify_key_found()</div><div class="ttdoc">Emit the "key_found" signal.</div><div class="ttdef"><b>Definition</b> rally_rush_game_mode.cpp:21</div></div>
|
|
<div class="ttc" id="aclassgodot_1_1RallyRushGameMode_html_a6255d285840ebbf45acba11c9b67acfc"><div class="ttname"><a href="classgodot_1_1RallyRushGameMode.html#a6255d285840ebbf45acba11c9b67acfc">godot::RallyRushGameMode::notify_turret_pickup</a></div><div class="ttdeci">void notify_turret_pickup()</div><div class="ttdoc">Emit the "turret_pickup" signal.</div><div class="ttdef"><b>Definition</b> rally_rush_game_mode.cpp:28</div></div>
|
|
<div class="ttc" id="aclassgodot_1_1RallyRushGameMode_html_a72c2b18d2eb21b7f42093fce4577c5f5"><div class="ttname"><a href="classgodot_1_1RallyRushGameMode.html#a72c2b18d2eb21b7f42093fce4577c5f5">godot::RallyRushGameMode::_bind_methods</a></div><div class="ttdeci">static void _bind_methods()</div><div class="ttdoc">Register signals.</div><div class="ttdef"><b>Definition</b> rally_rush_game_mode.cpp:7</div></div>
|
|
<div class="ttc" id="aclassgodot_1_1RallyRushGameMode_html_a9e7dceee50644dfcf573e7a84e991837"><div class="ttname"><a href="classgodot_1_1RallyRushGameMode.html#a9e7dceee50644dfcf573e7a84e991837">godot::RallyRushGameMode::get_num_found_keys</a></div><div class="ttdeci">int get_num_found_keys()</div><div class="ttdoc">returns the number of keys picked up so far.</div><div class="ttdef"><b>Definition</b> rally_rush_game_mode.cpp:17</div></div>
|
|
<div class="ttc" id="aclassgodot_1_1RallyRushGameMode_html_abb8a6cec45311f3592c876d07811876b"><div class="ttname"><a href="classgodot_1_1RallyRushGameMode.html#abb8a6cec45311f3592c876d07811876b">godot::RallyRushGameMode::notify_shield_pickup</a></div><div class="ttdeci">void notify_shield_pickup()</div><div class="ttdoc">Emit the "shield_pickup" signal.</div><div class="ttdef"><b>Definition</b> rally_rush_game_mode.cpp:36</div></div>
|
|
<div class="ttc" id="aclassgodot_1_1RallyRushGameMode_html_ac8640dc6d91b8bdf52a9ef25eeac2ec0"><div class="ttname"><a href="classgodot_1_1RallyRushGameMode.html#ac8640dc6d91b8bdf52a9ef25eeac2ec0">godot::RallyRushGameMode::GDCLASS</a></div><div class="ttdeci">GDCLASS(RallyRushGameMode, GameMode)</div></div>
|
|
<div class="ttc" id="aclassgodot_1_1RallyRushGameMode_html_acf7a19191c4edd2c0d46e0f1c251ae68"><div class="ttname"><a href="classgodot_1_1RallyRushGameMode.html#acf7a19191c4edd2c0d46e0f1c251ae68">godot::RallyRushGameMode::notify_player_escaped</a></div><div class="ttdeci">void notify_player_escaped()</div><div class="ttdoc">Emit the "player_escaped" signal.</div><div class="ttdef"><b>Definition</b> rally_rush_game_mode.cpp:49</div></div>
|
|
<div class="ttc" id="aclassgodot_1_1RallyRushGameMode_html_ad40caf626da1cdce94a17d12375eff62"><div class="ttname"><a href="classgodot_1_1RallyRushGameMode.html#ad40caf626da1cdce94a17d12375eff62">godot::RallyRushGameMode::notify_end_shield_pickup</a></div><div class="ttdeci">void notify_end_shield_pickup()</div><div class="ttdoc">Emit the "shield_pickup_end" signal.</div><div class="ttdef"><b>Definition</b> rally_rush_game_mode.cpp:40</div></div>
|
|
<div class="ttc" id="aclassgodot_1_1RallyRushGameMode_html_ade60aedb2170f955444b2281bb4c14c4"><div class="ttname"><a href="classgodot_1_1RallyRushGameMode.html#ade60aedb2170f955444b2281bb4c14c4">godot::RallyRushGameMode::notify_end_turret_pickup</a></div><div class="ttdeci">void notify_end_turret_pickup()</div><div class="ttdoc">Emit the "turret_pickup_end" signal.</div><div class="ttdef"><b>Definition</b> rally_rush_game_mode.cpp:32</div></div>
|
|
<div class="ttc" id="aclassgodot_1_1RallyRushGameMode_html_aee17d5a7b247ad37436fde5f4f05bded"><div class="ttname"><a href="classgodot_1_1RallyRushGameMode.html#aee17d5a7b247ad37436fde5f4f05bded">godot::RallyRushGameMode::notify_player_death</a></div><div class="ttdeci">void notify_player_death()</div><div class="ttdoc">Emit the "player_death" signal.</div><div class="ttdef"><b>Definition</b> rally_rush_game_mode.cpp:45</div></div>
|
|
<div class="ttc" id="aclassgodot_1_1RallyRushGameMode_html_aef57c461fed7ec6fae6cdc66b3367bee"><div class="ttname"><a href="classgodot_1_1RallyRushGameMode.html#aef57c461fed7ec6fae6cdc66b3367bee">godot::RallyRushGameMode::num_keys_found</a></div><div class="ttdeci">int num_keys_found</div><div class="ttdoc">The number of keys picked up so far.</div><div class="ttdef"><b>Definition</b> rally_rush_game_mode.hpp:31</div></div>
|
|
<div class="ttc" id="anamespacegodot_html"><div class="ttname"><a href="namespacegodot.html">godot</a></div><div class="ttdef"><b>Definition</b> beacon_powerup.cpp:6</div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7
|
|
</small></address>
|
|
</body>
|
|
</html>
|