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

208 lines
10 KiB
HTML
Raw Permalink 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: Класс EffectsSystem</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_effects_system-members.html">Полный список членов класса</a> </div>
<div class="headertitle">
<div class="title">Класс EffectsSystem</div> </div>
</div><!--header-->
<div class="contents">
<p>Класс <a class="el" href="class_effects_system.html" title="Класс EffectsSystem управляет специальными визуальными и аудиоэффектами.">EffectsSystem</a> управляет специальными визуальными и аудиоэффектами.
<a href="class_effects_system.html#details">Подробнее...</a></p>
<p><code>#include &lt;<a class="el" href="effects__system_8h_source.html">effects_system.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:acdd7a7d4639fbfdc7663fb05aa632afd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_effects_system.html#acdd7a7d4639fbfdc7663fb05aa632afd">addEffect</a> ()</td></tr>
<tr class="memdesc:acdd7a7d4639fbfdc7663fb05aa632afd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Добавляет новый эффект. <a href="class_effects_system.html#acdd7a7d4639fbfdc7663fb05aa632afd">Подробнее...</a><br /></td></tr>
<tr class="separator:acdd7a7d4639fbfdc7663fb05aa632afd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08e38061c38bff563c2f36583637d435"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_effects_system.html#a08e38061c38bff563c2f36583637d435">playEffect</a> (int effectId)</td></tr>
<tr class="memdesc:a08e38061c38bff563c2f36583637d435"><td class="mdescLeft">&#160;</td><td class="mdescRight">Воспроизводит эффект. <a href="class_effects_system.html#a08e38061c38bff563c2f36583637d435">Подробнее...</a><br /></td></tr>
<tr class="separator:a08e38061c38bff563c2f36583637d435"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4af4d4380dd793d5ebbdd4ef381b226c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_effects_system.html#a4af4d4380dd793d5ebbdd4ef381b226c">stopEffect</a> (int effectId)</td></tr>
<tr class="memdesc:a4af4d4380dd793d5ebbdd4ef381b226c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Останавливает эффект. <a href="class_effects_system.html#a4af4d4380dd793d5ebbdd4ef381b226c">Подробнее...</a><br /></td></tr>
<tr class="separator:a4af4d4380dd793d5ebbdd4ef381b226c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8117947b39f05afb8ff0fbbcd3fff7d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_effects_system.html#a8117947b39f05afb8ff0fbbcd3fff7d9">update</a> (float deltaTime)</td></tr>
<tr class="memdesc:a8117947b39f05afb8ff0fbbcd3fff7d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Обновляет активные эффекты. <a href="class_effects_system.html#a8117947b39f05afb8ff0fbbcd3fff7d9">Подробнее...</a><br /></td></tr>
<tr class="separator:a8117947b39f05afb8ff0fbbcd3fff7d9"><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_effects_system.html" title="Класс EffectsSystem управляет специальными визуальными и аудиоэффектами.">EffectsSystem</a> управляет специальными визуальными и аудиоэффектами. </p>
</div><h2 class="groupheader">Методы</h2>
<a id="acdd7a7d4639fbfdc7663fb05aa632afd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acdd7a7d4639fbfdc7663fb05aa632afd">&#9670;&nbsp;</a></span>addEffect()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void EffectsSystem::addEffect </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">effectParams</td><td>Параметры добавляемого эффекта. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a08e38061c38bff563c2f36583637d435"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08e38061c38bff563c2f36583637d435">&#9670;&nbsp;</a></span>playEffect()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void EffectsSystem::playEffect </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>effectId</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">effectId</td><td>Идентификатор воспроизводимого эффекта. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a4af4d4380dd793d5ebbdd4ef381b226c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4af4d4380dd793d5ebbdd4ef381b226c">&#9670;&nbsp;</a></span>stopEffect()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void EffectsSystem::stopEffect </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>effectId</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">effectId</td><td>Идентификатор останавливаемого эффекта. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a8117947b39f05afb8ff0fbbcd3fff7d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8117947b39f05afb8ff0fbbcd3fff7d9">&#9670;&nbsp;</a></span>update()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void EffectsSystem::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="effects__system_8h_source.html">effects_system.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>