mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-03 18:31:17 +00:00
359 lines
24 KiB
HTML
359 lines
24 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.8.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>Bomberman: BBM::PlayerBonusComponent Class Reference</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">Bomberman
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @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','Search');
|
|
$(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 id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="namespaceBBM.html">BBM</a></li><li class="navelem"><a class="el" href="classBBM_1_1PlayerBonusComponent.html">PlayerBonusComponent</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-attribs">Public Attributes</a> |
|
|
<a href="classBBM_1_1PlayerBonusComponent-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">BBM::PlayerBonusComponent Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="PlayerBonusComponent_8hpp_source.html">PlayerBonusComponent.hpp</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for BBM::PlayerBonusComponent:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classBBM_1_1PlayerBonusComponent__inherit__graph.svg" width="227" height="390"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
|
</div>
|
|
</div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for BBM::PlayerBonusComponent:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classBBM_1_1PlayerBonusComponent__coll__graph.svg" width="227" height="1199"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
|
</div>
|
|
</div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a19d88987a7c79900611250e0fd8a439f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWAL_1_1Component.html">WAL::Component</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1PlayerBonusComponent.html#a19d88987a7c79900611250e0fd8a439f">clone</a> (<a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &entity) const override</td></tr>
|
|
<tr class="memdesc:a19d88987a7c79900611250e0fd8a439f"><td class="mdescLeft"> </td><td class="mdescRight">Clone a component for another or the same entity. <a href="classBBM_1_1PlayerBonusComponent.html#a19d88987a7c79900611250e0fd8a439f">More...</a><br /></td></tr>
|
|
<tr class="separator:a19d88987a7c79900611250e0fd8a439f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae10198a581a5be9be1f7c22407182da1"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1PlayerBonusComponent.html#ae10198a581a5be9be1f7c22407182da1">PlayerBonusComponent</a> (<a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &entity)</td></tr>
|
|
<tr class="memdesc:ae10198a581a5be9be1f7c22407182da1"><td class="mdescLeft"> </td><td class="mdescRight">A <a class="el" href="classBBM_1_1Bonus.html">Bonus</a> component can't be instantiated, it should be derived. <a href="classBBM_1_1PlayerBonusComponent.html#ae10198a581a5be9be1f7c22407182da1">More...</a><br /></td></tr>
|
|
<tr class="separator:ae10198a581a5be9be1f7c22407182da1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aca2acd2712c916ab01038f68dc36bd45"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1PlayerBonusComponent.html#aca2acd2712c916ab01038f68dc36bd45">PlayerBonusComponent</a> (const <a class="el" href="classBBM_1_1PlayerBonusComponent.html">PlayerBonusComponent</a> &)=default</td></tr>
|
|
<tr class="memdesc:aca2acd2712c916ab01038f68dc36bd45"><td class="mdescLeft"> </td><td class="mdescRight">A <a class="el" href="classBBM_1_1Bonus.html">Bonus</a> component can't be instantiated, it should be derived. <a href="classBBM_1_1PlayerBonusComponent.html#aca2acd2712c916ab01038f68dc36bd45">More...</a><br /></td></tr>
|
|
<tr class="separator:aca2acd2712c916ab01038f68dc36bd45"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6fe5317bc08e978059e59d8c1d640436"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1PlayerBonusComponent.html#a6fe5317bc08e978059e59d8c1d640436">~PlayerBonusComponent</a> () override=default</td></tr>
|
|
<tr class="memdesc:a6fe5317bc08e978059e59d8c1d640436"><td class="mdescLeft"> </td><td class="mdescRight">default destructor <a href="classBBM_1_1PlayerBonusComponent.html#a6fe5317bc08e978059e59d8c1d640436">More...</a><br /></td></tr>
|
|
<tr class="separator:a6fe5317bc08e978059e59d8c1d640436"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a721e05b00253cb531f4a634dfaa43d96"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classBBM_1_1PlayerBonusComponent.html">PlayerBonusComponent</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1PlayerBonusComponent.html#a721e05b00253cb531f4a634dfaa43d96">operator=</a> (const <a class="el" href="classBBM_1_1PlayerBonusComponent.html">PlayerBonusComponent</a> &)=delete</td></tr>
|
|
<tr class="memdesc:a721e05b00253cb531f4a634dfaa43d96"><td class="mdescLeft"> </td><td class="mdescRight">A <a class="el" href="classBBM_1_1Bonus.html">Bonus</a> component can't be assigned. <a href="classBBM_1_1PlayerBonusComponent.html#a721e05b00253cb531f4a634dfaa43d96">More...</a><br /></td></tr>
|
|
<tr class="separator:a721e05b00253cb531f4a634dfaa43d96"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_methods_classWAL_1_1Component"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classWAL_1_1Component')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classWAL_1_1Component.html">WAL::Component</a></td></tr>
|
|
<tr class="memitem:a155fb97f22714a0f489af7442d7d3253 inherit pub_methods_classWAL_1_1Component"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWAL_1_1Component.html">Component</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classWAL_1_1Component.html#a155fb97f22714a0f489af7442d7d3253">operator=</a> (const <a class="el" href="classWAL_1_1Component.html">Component</a> &)=delete</td></tr>
|
|
<tr class="memdesc:a155fb97f22714a0f489af7442d7d3253 inherit pub_methods_classWAL_1_1Component"><td class="mdescLeft"> </td><td class="mdescRight">A component can't be assigned. <a href="classWAL_1_1Component.html#a155fb97f22714a0f489af7442d7d3253">More...</a><br /></td></tr>
|
|
<tr class="separator:a155fb97f22714a0f489af7442d7d3253 inherit pub_methods_classWAL_1_1Component"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3d8e13fdc53a63b0b1f8d15576f98cf8 inherit pub_methods_classWAL_1_1Component"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classWAL_1_1Component.html#a3d8e13fdc53a63b0b1f8d15576f98cf8">~Component</a> ()=default</td></tr>
|
|
<tr class="memdesc:a3d8e13fdc53a63b0b1f8d15576f98cf8 inherit pub_methods_classWAL_1_1Component"><td class="mdescLeft"> </td><td class="mdescRight">A virtual destructor. <a href="classWAL_1_1Component.html#a3d8e13fdc53a63b0b1f8d15576f98cf8">More...</a><br /></td></tr>
|
|
<tr class="separator:a3d8e13fdc53a63b0b1f8d15576f98cf8 inherit pub_methods_classWAL_1_1Component"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4acae0960f4232caf8395b2465dde8cc inherit pub_methods_classWAL_1_1Component"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWAL_1_1Component.html#a4acae0960f4232caf8395b2465dde8cc">onStart</a> ()</td></tr>
|
|
<tr class="memdesc:a4acae0960f4232caf8395b2465dde8cc inherit pub_methods_classWAL_1_1Component"><td class="mdescLeft"> </td><td class="mdescRight">The entity or this component has just been enabled. <a href="classWAL_1_1Component.html#a4acae0960f4232caf8395b2465dde8cc">More...</a><br /></td></tr>
|
|
<tr class="separator:a4acae0960f4232caf8395b2465dde8cc inherit pub_methods_classWAL_1_1Component"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0f3f4fe54fd06de1e685835977fef050 inherit pub_methods_classWAL_1_1Component"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWAL_1_1Component.html#a0f3f4fe54fd06de1e685835977fef050">onStop</a> ()</td></tr>
|
|
<tr class="memdesc:a0f3f4fe54fd06de1e685835977fef050 inherit pub_methods_classWAL_1_1Component"><td class="mdescLeft"> </td><td class="mdescRight">The entity or this component has just been disable. <a href="classWAL_1_1Component.html#a0f3f4fe54fd06de1e685835977fef050">More...</a><br /></td></tr>
|
|
<tr class="separator:a0f3f4fe54fd06de1e685835977fef050 inherit pub_methods_classWAL_1_1Component"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
|
Public Attributes</h2></td></tr>
|
|
<tr class="memitem:ad70f6519b5c88c053a9aa17705d40bf5"><td class="memItemLeft" align="right" valign="top">std::chrono::nanoseconds </td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1PlayerBonusComponent.html#ad70f6519b5c88c053a9aa17705d40bf5">noClipBonusRate</a> = 5s</td></tr>
|
|
<tr class="memdesc:ad70f6519b5c88c053a9aa17705d40bf5"><td class="mdescLeft"> </td><td class="mdescRight">The number of seconds before a range bonus expire. This variable is used to reset the nextNoClipBonusRate value. <a href="classBBM_1_1PlayerBonusComponent.html#ad70f6519b5c88c053a9aa17705d40bf5">More...</a><br /></td></tr>
|
|
<tr class="separator:ad70f6519b5c88c053a9aa17705d40bf5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4a866c1419bdcd095d7397ee419af3f3"><td class="memItemLeft" align="right" valign="top">std::chrono::nanoseconds </td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1PlayerBonusComponent.html#a4a866c1419bdcd095d7397ee419af3f3">nextNoClipRate</a> = <a class="el" href="classBBM_1_1PlayerBonusComponent.html#ad70f6519b5c88c053a9aa17705d40bf5">noClipBonusRate</a></td></tr>
|
|
<tr class="memdesc:a4a866c1419bdcd095d7397ee419af3f3"><td class="mdescLeft"> </td><td class="mdescRight">The number of nanosecond before the expiration of a no clip bonus. <a href="classBBM_1_1PlayerBonusComponent.html#a4a866c1419bdcd095d7397ee419af3f3">More...</a><br /></td></tr>
|
|
<tr class="separator:a4a866c1419bdcd095d7397ee419af3f3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2e6295a728a7227e0eeb8273c19b192e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1PlayerBonusComponent.html#a2e6295a728a7227e0eeb8273c19b192e">isNoClipOn</a> = false</td></tr>
|
|
<tr class="memdesc:a2e6295a728a7227e0eeb8273c19b192e"><td class="mdescLeft"> </td><td class="mdescRight">To know if the player can clip through block. <a href="classBBM_1_1PlayerBonusComponent.html#a2e6295a728a7227e0eeb8273c19b192e">More...</a><br /></td></tr>
|
|
<tr class="separator:a2e6295a728a7227e0eeb8273c19b192e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
|
Additional Inherited Members</h2></td></tr>
|
|
<tr class="inherit_header pro_methods_classWAL_1_1Component"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classWAL_1_1Component')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classWAL_1_1Component.html">WAL::Component</a></td></tr>
|
|
<tr class="memitem:ad27cb4b0bdc95b6245f6b5a8c56cc78a inherit pro_methods_classWAL_1_1Component"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWAL_1_1Component.html#ad27cb4b0bdc95b6245f6b5a8c56cc78a">Component</a> (<a class="el" href="classWAL_1_1Entity.html">Entity</a> &entity)</td></tr>
|
|
<tr class="memdesc:ad27cb4b0bdc95b6245f6b5a8c56cc78a inherit pro_methods_classWAL_1_1Component"><td class="mdescLeft"> </td><td class="mdescRight">A component can't be instantiated, it should be derived. <a href="classWAL_1_1Component.html#ad27cb4b0bdc95b6245f6b5a8c56cc78a">More...</a><br /></td></tr>
|
|
<tr class="separator:ad27cb4b0bdc95b6245f6b5a8c56cc78a inherit pro_methods_classWAL_1_1Component"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3a3306df3733bfa77c70d789b650984b inherit pro_methods_classWAL_1_1Component"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWAL_1_1Component.html#a3a3306df3733bfa77c70d789b650984b">Component</a> (const <a class="el" href="classWAL_1_1Component.html">Component</a> &)=default</td></tr>
|
|
<tr class="memdesc:a3a3306df3733bfa77c70d789b650984b inherit pro_methods_classWAL_1_1Component"><td class="mdescLeft"> </td><td class="mdescRight">A component can't be instantiated, it should be derived. <a href="classWAL_1_1Component.html#a3a3306df3733bfa77c70d789b650984b">More...</a><br /></td></tr>
|
|
<tr class="separator:a3a3306df3733bfa77c70d789b650984b inherit pro_methods_classWAL_1_1Component"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pro_attribs_classWAL_1_1Component"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classWAL_1_1Component')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classWAL_1_1Component.html">WAL::Component</a></td></tr>
|
|
<tr class="memitem:a3841f7c8cc4eeb9d1e97b3182976d89f inherit pro_attribs_classWAL_1_1Component"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWAL_1_1Entity.html">Entity</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classWAL_1_1Component.html#a3841f7c8cc4eeb9d1e97b3182976d89f">_entity</a></td></tr>
|
|
<tr class="memdesc:a3841f7c8cc4eeb9d1e97b3182976d89f inherit pro_attribs_classWAL_1_1Component"><td class="mdescLeft"> </td><td class="mdescRight">The entity that own this component. <a href="classWAL_1_1Component.html#a3841f7c8cc4eeb9d1e97b3182976d89f">More...</a><br /></td></tr>
|
|
<tr class="separator:a3841f7c8cc4eeb9d1e97b3182976d89f inherit pro_attribs_classWAL_1_1Component"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="ae10198a581a5be9be1f7c22407182da1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae10198a581a5be9be1f7c22407182da1">◆ </a></span>PlayerBonusComponent() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">BBM::PlayerBonusComponent::PlayerBonusComponent </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> & </td>
|
|
<td class="paramname"><em>entity</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A <a class="el" href="classBBM_1_1Bonus.html">Bonus</a> component can't be instantiated, it should be derived. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aca2acd2712c916ab01038f68dc36bd45"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aca2acd2712c916ab01038f68dc36bd45">◆ </a></span>PlayerBonusComponent() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">BBM::PlayerBonusComponent::PlayerBonusComponent </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classBBM_1_1PlayerBonusComponent.html">PlayerBonusComponent</a> & </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">default</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A <a class="el" href="classBBM_1_1Bonus.html">Bonus</a> component can't be instantiated, it should be derived. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6fe5317bc08e978059e59d8c1d640436"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6fe5317bc08e978059e59d8c1d640436">◆ </a></span>~PlayerBonusComponent()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">BBM::PlayerBonusComponent::~PlayerBonusComponent </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">default</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>default destructor </p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a19d88987a7c79900611250e0fd8a439f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a19d88987a7c79900611250e0fd8a439f">◆ </a></span>clone()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classWAL_1_1Component.html">WAL::Component</a> * BBM::PlayerBonusComponent::clone </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> & </td>
|
|
<td class="paramname"><em>entity</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Clone a component for another or the same entity. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">entity</td><td>The entity that owns the ne component. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implements <a class="el" href="classWAL_1_1Component.html#a0bbee4f657e10fd190a28d15afe63e93">WAL::Component</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a721e05b00253cb531f4a634dfaa43d96"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a721e05b00253cb531f4a634dfaa43d96">◆ </a></span>operator=()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classBBM_1_1PlayerBonusComponent.html">PlayerBonusComponent</a>& BBM::PlayerBonusComponent::operator= </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classBBM_1_1PlayerBonusComponent.html">PlayerBonusComponent</a> & </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>A <a class="el" href="classBBM_1_1Bonus.html">Bonus</a> component can't be assigned. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="a2e6295a728a7227e0eeb8273c19b192e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2e6295a728a7227e0eeb8273c19b192e">◆ </a></span>isNoClipOn</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool BBM::PlayerBonusComponent::isNoClipOn = false</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>To know if the player can clip through block. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4a866c1419bdcd095d7397ee419af3f3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4a866c1419bdcd095d7397ee419af3f3">◆ </a></span>nextNoClipRate</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::chrono::nanoseconds BBM::PlayerBonusComponent::nextNoClipRate = <a class="el" href="classBBM_1_1PlayerBonusComponent.html#ad70f6519b5c88c053a9aa17705d40bf5">noClipBonusRate</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The number of nanosecond before the expiration of a no clip bonus. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad70f6519b5c88c053a9aa17705d40bf5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad70f6519b5c88c053a9aa17705d40bf5">◆ </a></span>noClipBonusRate</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::chrono::nanoseconds BBM::PlayerBonusComponent::noClipBonusRate = 5s</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The number of seconds before a range bonus expire. This variable is used to reset the nextNoClipBonusRate value. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>sources/Component/Bonus/<a class="el" href="PlayerBonusComponent_8hpp_source.html">PlayerBonusComponent.hpp</a></li>
|
|
<li>sources/Component/Bonus/<a class="el" href="PlayerBonusComponent_8cpp.html">PlayerBonusComponent.cpp</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|