mirror of
https://github.com/Maks1mS/pppi-rpg-game.git
synced 2024-12-23 22:32:59 +03:00
150 lines
8.7 KiB
HTML
150 lines
8.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: Класс GameEngine</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&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&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> |
|
||
<a href="#pri-methods">Закрытые члены</a> |
|
||
<a href="class_game_engine-members.html">Полный список членов класса</a> </div>
|
||
<div class="headertitle">
|
||
<div class="title">Класс GameEngine</div> </div>
|
||
</div><!--header-->
|
||
<div class="contents">
|
||
|
||
<p>Класс <a class="el" href="class_game_engine.html" title="Класс GameEngine является основой для всей архитектуры игры.">GameEngine</a> является основой для всей архитектуры игры.
|
||
<a href="class_game_engine.html#details">Подробнее...</a></p>
|
||
|
||
<p><code>#include <<a class="el" href="game__engine_8h_source.html">game_engine.h</a>></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:af52f9b4cf1d9b2694eeb0aa2ea77de2f"><td class="memItemLeft" align="right" valign="top"><a id="af52f9b4cf1d9b2694eeb0aa2ea77de2f"></a>
|
||
void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_game_engine.html#af52f9b4cf1d9b2694eeb0aa2ea77de2f">initialize</a> ()</td></tr>
|
||
<tr class="memdesc:af52f9b4cf1d9b2694eeb0aa2ea77de2f"><td class="mdescLeft"> </td><td class="mdescRight">Инициализирует игровой движок и все его подсистемы. <br /></td></tr>
|
||
<tr class="separator:af52f9b4cf1d9b2694eeb0aa2ea77de2f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
<tr class="memitem:ab01970da2c68fefbf48b98c59d5627ae"><td class="memItemLeft" align="right" valign="top"><a id="ab01970da2c68fefbf48b98c59d5627ae"></a>
|
||
void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_game_engine.html#ab01970da2c68fefbf48b98c59d5627ae">run</a> ()</td></tr>
|
||
<tr class="memdesc:ab01970da2c68fefbf48b98c59d5627ae"><td class="mdescLeft"> </td><td class="mdescRight">Запускает основной игровой цикл. <br /></td></tr>
|
||
<tr class="separator:ab01970da2c68fefbf48b98c59d5627ae"><td class="memSeparator" colspan="2"> </td></tr>
|
||
<tr class="memitem:aba20f4cd8d357c40ef763b17ab407918"><td class="memItemLeft" align="right" valign="top"><a id="aba20f4cd8d357c40ef763b17ab407918"></a>
|
||
void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_game_engine.html#aba20f4cd8d357c40ef763b17ab407918">shutdown</a> ()</td></tr>
|
||
<tr class="memdesc:aba20f4cd8d357c40ef763b17ab407918"><td class="mdescLeft"> </td><td class="mdescRight">Останавливает игру и освобождает ресурсы. <br /></td></tr>
|
||
<tr class="separator:aba20f4cd8d357c40ef763b17ab407918"><td class="memSeparator" colspan="2"> </td></tr>
|
||
</table><table class="memberdecls">
|
||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
|
||
Закрытые члены</h2></td></tr>
|
||
<tr class="memitem:aeb8df057dde6e18da6d2dc3e468afc8b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_game_engine.html#aeb8df057dde6e18da6d2dc3e468afc8b">update</a> (float deltaTime)</td></tr>
|
||
<tr class="memdesc:aeb8df057dde6e18da6d2dc3e468afc8b"><td class="mdescLeft"> </td><td class="mdescRight">Обновляет все подсистемы (физика, анимация, AI и т.д.). <a href="class_game_engine.html#aeb8df057dde6e18da6d2dc3e468afc8b">Подробнее...</a><br /></td></tr>
|
||
<tr class="separator:aeb8df057dde6e18da6d2dc3e468afc8b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
<tr class="memitem:a267bf9164ba09e32b7a24ba4afb527d4"><td class="memItemLeft" align="right" valign="top"><a id="a267bf9164ba09e32b7a24ba4afb527d4"></a>
|
||
void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_game_engine.html#a267bf9164ba09e32b7a24ba4afb527d4">render</a> ()</td></tr>
|
||
<tr class="memdesc:a267bf9164ba09e32b7a24ba4afb527d4"><td class="mdescLeft"> </td><td class="mdescRight">Рендерит текущее состояние игры. <br /></td></tr>
|
||
<tr class="separator:a267bf9164ba09e32b7a24ba4afb527d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||
</table>
|
||
<a name="details" id="details"></a><h2 class="groupheader">Подробное описание</h2>
|
||
<div class="textblock"><p>Класс <a class="el" href="class_game_engine.html" title="Класс GameEngine является основой для всей архитектуры игры.">GameEngine</a> является основой для всей архитектуры игры. </p>
|
||
</div><h2 class="groupheader">Методы</h2>
|
||
<a id="aeb8df057dde6e18da6d2dc3e468afc8b"></a>
|
||
<h2 class="memtitle"><span class="permalink"><a href="#aeb8df057dde6e18da6d2dc3e468afc8b">◆ </a></span>update()</h2>
|
||
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="mlabels">
|
||
<tr>
|
||
<td class="mlabels-left">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">void GameEngine::update </td>
|
||
<td>(</td>
|
||
<td class="paramtype">float </td>
|
||
<td class="paramname"><em>deltaTime</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
<td class="mlabels-right">
|
||
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
</tr>
|
||
</table>
|
||
</div><div class="memdoc">
|
||
|
||
<p>Обновляет все подсистемы (физика, анимация, AI и т.д.). </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="game__engine_8h_source.html">game_engine.h</a></li>
|
||
</ul>
|
||
</div><!-- contents -->
|
||
<!-- start footer part -->
|
||
<hr class="footer"/><address class="footer"><small>
|
||
Создано системой <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>
|