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

158 lines
8.6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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: Класс StateManager</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>
<!-- 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><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Открытые члены</a> &#124;
<a href="class_state_manager-members.html">Полный список членов класса</a> </div>
<div class="headertitle">
<div class="title">Класс StateManager</div> </div>
</div><!--header-->
<div class="contents">
<p>Класс <a class="el" href="class_state_manager.html" title="Класс StateManager управляет переходами между различными состояниями игры.">StateManager</a> управляет переходами между различными состояниями игры.
<a href="class_state_manager.html#details">Подробнее...</a></p>
<p><code>#include &lt;<a class="el" href="state__manager_8h_source.html">state_manager.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Открытые члены</h2></td></tr>
<tr class="memitem:ad7c3f970b3f0093bef4a1dcd68b4c53e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_manager.html#ad7c3f970b3f0093bef4a1dcd68b4c53e">pushState</a> ()</td></tr>
<tr class="memdesc:ad7c3f970b3f0093bef4a1dcd68b4c53e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Добавляет новое состояние в стек состояний. <a href="class_state_manager.html#ad7c3f970b3f0093bef4a1dcd68b4c53e">Подробнее...</a><br /></td></tr>
<tr class="separator:ad7c3f970b3f0093bef4a1dcd68b4c53e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c5f8c0609e74fb2346b6b7f5930bb38"><td class="memItemLeft" align="right" valign="top"><a id="a1c5f8c0609e74fb2346b6b7f5930bb38"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_manager.html#a1c5f8c0609e74fb2346b6b7f5930bb38">popState</a> ()</td></tr>
<tr class="memdesc:a1c5f8c0609e74fb2346b6b7f5930bb38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Удаляет текущее состояние, возвращаясь к предыдущему. <br /></td></tr>
<tr class="separator:a1c5f8c0609e74fb2346b6b7f5930bb38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae02fb746e1ef597d2842aaec506030b2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_manager.html#ae02fb746e1ef597d2842aaec506030b2">update</a> (float deltaTime)</td></tr>
<tr class="memdesc:ae02fb746e1ef597d2842aaec506030b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Обновляет текущее состояние. <a href="class_state_manager.html#ae02fb746e1ef597d2842aaec506030b2">Подробнее...</a><br /></td></tr>
<tr class="separator:ae02fb746e1ef597d2842aaec506030b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02e78818db709db59df3a46a4bb47ddf"><td class="memItemLeft" align="right" valign="top"><a id="a02e78818db709db59df3a46a4bb47ddf"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_manager.html#a02e78818db709db59df3a46a4bb47ddf">render</a> ()</td></tr>
<tr class="memdesc:a02e78818db709db59df3a46a4bb47ddf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Рендерит текущее состояние. <br /></td></tr>
<tr class="separator:a02e78818db709db59df3a46a4bb47ddf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Подробное описание</h2>
<div class="textblock"><p>Класс <a class="el" href="class_state_manager.html" title="Класс StateManager управляет переходами между различными состояниями игры.">StateManager</a> управляет переходами между различными состояниями игры. </p>
</div><h2 class="groupheader">Методы</h2>
<a id="ad7c3f970b3f0093bef4a1dcd68b4c53e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7c3f970b3f0093bef4a1dcd68b4c53e">&#9670;&nbsp;</a></span>pushState()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void StateManager::pushState </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Добавляет новое состояние в стек состояний. </p>
<dl class="params"><dt>Аргументы</dt><dd>
<table class="params">
<tr><td class="paramname">state</td><td>Состояние, которое нужно добавить. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ae02fb746e1ef597d2842aaec506030b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae02fb746e1ef597d2842aaec506030b2">&#9670;&nbsp;</a></span>update()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void StateManager::update </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>deltaTime</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Обновляет текущее состояние. </p>
<dl class="params"><dt>Аргументы</dt><dd>
<table class="params">
<tr><td class="paramname">deltaTime</td><td>Время, прошедшее с предыдущего обновления, в секундах. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/>Объявления и описания членов класса находятся в файле:<ul>
<li><a class="el" href="state__manager_8h_source.html">state_manager.h</a></li>
</ul>
</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>