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

178 lines
8.7 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: Класс CombatSystem</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_combat_system-members.html">Полный список членов класса</a> </div>
<div class="headertitle">
<div class="title">Класс CombatSystem</div> </div>
</div><!--header-->
<div class="contents">
<p>Класс <a class="el" href="class_combat_system.html" title="Класс CombatSystem регулирует механики боя и взаимодействия во время сражений.">CombatSystem</a> регулирует механики боя и взаимодействия во время сражений.
<a href="class_combat_system.html#details">Подробнее...</a></p>
<p><code>#include &lt;<a class="el" href="combat__system_8h_source.html">combat_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:a0ad07302c74cbece66b3b873d46dbe20"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_combat_system.html#a0ad07302c74cbece66b3b873d46dbe20">initiateCombat</a> ()</td></tr>
<tr class="memdesc:a0ad07302c74cbece66b3b873d46dbe20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Инициирует бой между персонажами или группами. <a href="class_combat_system.html#a0ad07302c74cbece66b3b873d46dbe20">Подробнее...</a><br /></td></tr>
<tr class="separator:a0ad07302c74cbece66b3b873d46dbe20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f53d4e02249457ff7a2859bde5f953a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_combat_system.html#a7f53d4e02249457ff7a2859bde5f953a">update</a> (float deltaTime)</td></tr>
<tr class="memdesc:a7f53d4e02249457ff7a2859bde5f953a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Обновляет состояние боя. <a href="class_combat_system.html#a7f53d4e02249457ff7a2859bde5f953a">Подробнее...</a><br /></td></tr>
<tr class="separator:a7f53d4e02249457ff7a2859bde5f953a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed5618027fca5c1538f887ef9b21cb2d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_combat_system.html#aed5618027fca5c1538f887ef9b21cb2d">calculateAttackOutcome</a> ()</td></tr>
<tr class="memdesc:aed5618027fca5c1538f887ef9b21cb2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Рассчитывает исход атаки. <a href="class_combat_system.html#aed5618027fca5c1538f887ef9b21cb2d">Подробнее...</a><br /></td></tr>
<tr class="separator:aed5618027fca5c1538f887ef9b21cb2d"><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_combat_system.html" title="Класс CombatSystem регулирует механики боя и взаимодействия во время сражений.">CombatSystem</a> регулирует механики боя и взаимодействия во время сражений. </p>
</div><h2 class="groupheader">Методы</h2>
<a id="aed5618027fca5c1538f887ef9b21cb2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed5618027fca5c1538f887ef9b21cb2d">&#9670;&nbsp;</a></span>calculateAttackOutcome()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CombatSystem::calculateAttackOutcome </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">attackParams</td><td>Параметры атаки. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a0ad07302c74cbece66b3b873d46dbe20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ad07302c74cbece66b3b873d46dbe20">&#9670;&nbsp;</a></span>initiateCombat()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CombatSystem::initiateCombat </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">participants</td><td>Участники боя. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a7f53d4e02249457ff7a2859bde5f953a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f53d4e02249457ff7a2859bde5f953a">&#9670;&nbsp;</a></span>update()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CombatSystem::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="combat__system_8h_source.html">combat_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>