pppi-rpg-game/program/html/state__manager_8h_source.html

91 lines
6.7 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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PPPI RPG Game: Исходный файл state_manager.h</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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">PPPI RPG Game
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Создано системой Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Поиск','.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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Поиск');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- 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">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">state_manager.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno"><a class="line" href="class_state_manager.html"> 4</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_state_manager.html">StateManager</a> {</div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="class_state_manager.html#ad7c3f970b3f0093bef4a1dcd68b4c53e"> 10</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_state_manager.html#ad7c3f970b3f0093bef4a1dcd68b4c53e">pushState</a>(<span class="comment">/* состояние */</span>);</div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160; </div>
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="class_state_manager.html#a1c5f8c0609e74fb2346b6b7f5930bb38"> 15</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_state_manager.html#a1c5f8c0609e74fb2346b6b7f5930bb38">popState</a>();</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; </div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="class_state_manager.html#ae02fb746e1ef597d2842aaec506030b2"> 21</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_state_manager.html#ae02fb746e1ef597d2842aaec506030b2">update</a>(<span class="keywordtype">float</span> deltaTime);</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_state_manager.html#a02e78818db709db59df3a46a4bb47ddf"> 26</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_state_manager.html#a02e78818db709db59df3a46a4bb47ddf">render</a>();</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;};</div>
<div class="ttc" id="aclass_state_manager_html"><div class="ttname"><a href="class_state_manager.html">StateManager</a></div><div class="ttdoc">Класс StateManager управляет переходами между различными состояниями игры.</div><div class="ttdef"><b>Definition:</b> state_manager.h:4</div></div>
<div class="ttc" id="aclass_state_manager_html_a02e78818db709db59df3a46a4bb47ddf"><div class="ttname"><a href="class_state_manager.html#a02e78818db709db59df3a46a4bb47ddf">StateManager::render</a></div><div class="ttdeci">void render()</div><div class="ttdoc">Рендерит текущее состояние.</div></div>
<div class="ttc" id="aclass_state_manager_html_a1c5f8c0609e74fb2346b6b7f5930bb38"><div class="ttname"><a href="class_state_manager.html#a1c5f8c0609e74fb2346b6b7f5930bb38">StateManager::popState</a></div><div class="ttdeci">void popState()</div><div class="ttdoc">Удаляет текущее состояние, возвращаясь к предыдущему.</div></div>
<div class="ttc" id="aclass_state_manager_html_ad7c3f970b3f0093bef4a1dcd68b4c53e"><div class="ttname"><a href="class_state_manager.html#ad7c3f970b3f0093bef4a1dcd68b4c53e">StateManager::pushState</a></div><div class="ttdeci">void pushState()</div><div class="ttdoc">Добавляет новое состояние в стек состояний.</div></div>
<div class="ttc" id="aclass_state_manager_html_ae02fb746e1ef597d2842aaec506030b2"><div class="ttname"><a href="class_state_manager.html#ae02fb746e1ef597d2842aaec506030b2">StateManager::update</a></div><div class="ttdeci">void update(float deltaTime)</div><div class="ttdoc">Обновляет текущее состояние.</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Создано системой&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>