mirror of
https://github.com/Maks1mS/pppi-rpg-game.git
synced 2024-12-25 07:04:38 +03:00
206 lines
10 KiB
HTML
206 lines
10 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: Класс WeatherTimeSystem</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="class_weather_time_system-members.html">Полный список членов класса</a> </div>
|
|||
|
<div class="headertitle">
|
|||
|
<div class="title">Класс WeatherTimeSystem</div> </div>
|
|||
|
</div><!--header-->
|
|||
|
<div class="contents">
|
|||
|
|
|||
|
<p>Класс <a class="el" href="class_weather_time_system.html" title="Класс WeatherTimeSystem симулирует изменение погоды и суточные циклы.">WeatherTimeSystem</a> симулирует изменение погоды и суточные циклы.
|
|||
|
<a href="class_weather_time_system.html#details">Подробнее...</a></p>
|
|||
|
|
|||
|
<p><code>#include <<a class="el" href="weather__time__system_8h_source.html">weather_time_system.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:a6f7124f3c43135e4a20a0244acb25d8a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_weather_time_system.html#a6f7124f3c43135e4a20a0244acb25d8a">initialize</a> ()</td></tr>
|
|||
|
<tr class="memdesc:a6f7124f3c43135e4a20a0244acb25d8a"><td class="mdescLeft"> </td><td class="mdescRight">Устанавливает начальные параметры времени и погоды. <a href="class_weather_time_system.html#a6f7124f3c43135e4a20a0244acb25d8a">Подробнее...</a><br /></td></tr>
|
|||
|
<tr class="separator:a6f7124f3c43135e4a20a0244acb25d8a"><td class="memSeparator" colspan="2"> </td></tr>
|
|||
|
<tr class="memitem:a40074ebb6100edebf9cb0896bde577d7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_weather_time_system.html#a40074ebb6100edebf9cb0896bde577d7">update</a> (float deltaTime)</td></tr>
|
|||
|
<tr class="memdesc:a40074ebb6100edebf9cb0896bde577d7"><td class="mdescLeft"> </td><td class="mdescRight">Обновляет состояние погоды и времени. <a href="class_weather_time_system.html#a40074ebb6100edebf9cb0896bde577d7">Подробнее...</a><br /></td></tr>
|
|||
|
<tr class="separator:a40074ebb6100edebf9cb0896bde577d7"><td class="memSeparator" colspan="2"> </td></tr>
|
|||
|
<tr class="memitem:a7ace7672f172888226097c572492c068"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_weather_time_system.html#a7ace7672f172888226097c572492c068">changeWeather</a> ()</td></tr>
|
|||
|
<tr class="memdesc:a7ace7672f172888226097c572492c068"><td class="mdescLeft"> </td><td class="mdescRight">Изменяет погодные условия. <a href="class_weather_time_system.html#a7ace7672f172888226097c572492c068">Подробнее...</a><br /></td></tr>
|
|||
|
<tr class="separator:a7ace7672f172888226097c572492c068"><td class="memSeparator" colspan="2"> </td></tr>
|
|||
|
<tr class="memitem:a84e7c37d0fb3de4d8fd00aaf6e995f90"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_weather_time_system.html#a84e7c37d0fb3de4d8fd00aaf6e995f90">setTimeOfDay</a> ()</td></tr>
|
|||
|
<tr class="memdesc:a84e7c37d0fb3de4d8fd00aaf6e995f90"><td class="mdescLeft"> </td><td class="mdescRight">Устанавливает время суток. <a href="class_weather_time_system.html#a84e7c37d0fb3de4d8fd00aaf6e995f90">Подробнее...</a><br /></td></tr>
|
|||
|
<tr class="separator:a84e7c37d0fb3de4d8fd00aaf6e995f90"><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_weather_time_system.html" title="Класс WeatherTimeSystem симулирует изменение погоды и суточные циклы.">WeatherTimeSystem</a> симулирует изменение погоды и суточные циклы. </p>
|
|||
|
</div><h2 class="groupheader">Методы</h2>
|
|||
|
<a id="a7ace7672f172888226097c572492c068"></a>
|
|||
|
<h2 class="memtitle"><span class="permalink"><a href="#a7ace7672f172888226097c572492c068">◆ </a></span>changeWeather()</h2>
|
|||
|
|
|||
|
<div class="memitem">
|
|||
|
<div class="memproto">
|
|||
|
<table class="memname">
|
|||
|
<tr>
|
|||
|
<td class="memname">void WeatherTimeSystem::changeWeather </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">newWeather</td><td>Новые погодные условия. </td></tr>
|
|||
|
</table>
|
|||
|
</dd>
|
|||
|
</dl>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<a id="a6f7124f3c43135e4a20a0244acb25d8a"></a>
|
|||
|
<h2 class="memtitle"><span class="permalink"><a href="#a6f7124f3c43135e4a20a0244acb25d8a">◆ </a></span>initialize()</h2>
|
|||
|
|
|||
|
<div class="memitem">
|
|||
|
<div class="memproto">
|
|||
|
<table class="memname">
|
|||
|
<tr>
|
|||
|
<td class="memname">void WeatherTimeSystem::initialize </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">initialParams</td><td>Начальные параметры времени и погоды. </td></tr>
|
|||
|
</table>
|
|||
|
</dd>
|
|||
|
</dl>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<a id="a84e7c37d0fb3de4d8fd00aaf6e995f90"></a>
|
|||
|
<h2 class="memtitle"><span class="permalink"><a href="#a84e7c37d0fb3de4d8fd00aaf6e995f90">◆ </a></span>setTimeOfDay()</h2>
|
|||
|
|
|||
|
<div class="memitem">
|
|||
|
<div class="memproto">
|
|||
|
<table class="memname">
|
|||
|
<tr>
|
|||
|
<td class="memname">void WeatherTimeSystem::setTimeOfDay </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">newTimeOfDay</td><td>Новое время суток. </td></tr>
|
|||
|
</table>
|
|||
|
</dd>
|
|||
|
</dl>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<a id="a40074ebb6100edebf9cb0896bde577d7"></a>
|
|||
|
<h2 class="memtitle"><span class="permalink"><a href="#a40074ebb6100edebf9cb0896bde577d7">◆ </a></span>update()</h2>
|
|||
|
|
|||
|
<div class="memitem">
|
|||
|
<div class="memproto">
|
|||
|
<table class="memname">
|
|||
|
<tr>
|
|||
|
<td class="memname">void WeatherTimeSystem::update </td>
|
|||
|
<td>(</td>
|
|||
|
<td class="paramtype">float </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="weather__time__system_8h_source.html">weather_time_system.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>
|