Files
Bomberman/IntroAnimationComponent_8hpp_source.html
2021-06-26 11:31:13 +00:00

132 lines
18 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: sources/Component/IntroAnimation/IntroAnimationComponent.hpp Source File</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&amp;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&amp;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="dir_08d237fc27d4ecd563f71c5d52f2fecc.html">sources</a></li><li class="navelem"><a class="el" href="dir_1625c0207da71ef5bcc742f7d87fc397.html">Component</a></li><li class="navelem"><a class="el" href="dir_c1fcb8eb6b7c34dbe0f47d053d984bfe.html">IntroAnimation</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">IntroAnimationComponent.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="IntroAnimationComponent_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160; </div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="Component_8hpp.html">Component/Component.hpp</a>&gt;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160; </div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceBBM.html">BBM</a></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;{</div>
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="classBBM_1_1IntroAnimationComponent.html"> 9</a></span>&#160; <span class="keyword">class </span><a class="code" href="classBBM_1_1IntroAnimationComponent.html">IntroAnimationComponent</a> : <span class="keyword">public</span> <a class="code" href="classWAL_1_1Component.html">WAL::Component</a></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160; {</div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="classBBM_1_1IntroAnimationComponent.html#ae4688872a4f16282e588c22fcf512d0d"> 12</a></span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classBBM_1_1IntroAnimationComponent.html#ae4688872a4f16282e588c22fcf512d0d">frameCounter</a> = 0;</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122"> 14</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122">animationSteps</a> {</div>
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122a1249882e00c38790974d68118fd7c9d7"> 15</a></span>&#160; <a class="code" href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122a1249882e00c38790974d68118fd7c9d7">epitechLogo</a>,</div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122acf926c73377f1b30cf55c9580260d2d8"> 16</a></span>&#160; <a class="code" href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122acf926c73377f1b30cf55c9580260d2d8">boxBlinking</a>,</div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122a9379a0101f9b32b31f45c6aa298153fa"> 17</a></span>&#160; <a class="code" href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122a9379a0101f9b32b31f45c6aa298153fa">topLeftgrowing</a>,</div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122a9dd0ef22e004bdac44e6e016d92e663c"> 18</a></span>&#160; <a class="code" href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122a9dd0ef22e004bdac44e6e016d92e663c">bottomRightGrowing</a>,</div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122a20537be25886c94103814a9b08a245fa"> 19</a></span>&#160; <a class="code" href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122a20537be25886c94103814a9b08a245fa">lettersTyping</a>,</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122a8672d282f1c9c0760c75c35d4346dd4d"> 20</a></span>&#160; <a class="code" href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122a8672d282f1c9c0760c75c35d4346dd4d">fading</a>,</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122a5e2a65df56eab3f8c86709b9d151aea4"> 21</a></span>&#160; <a class="code" href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122a5e2a65df56eab3f8c86709b9d151aea4">prompt</a>,</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; };</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; </div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="classBBM_1_1IntroAnimationComponent.html#a130ae4940569ffc141a4080f843a730a"> 24</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122">animationSteps</a> <a class="code" href="classBBM_1_1IntroAnimationComponent.html#a130ae4940569ffc141a4080f843a730a">currentStep</a> = <a class="code" href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122a1249882e00c38790974d68118fd7c9d7">epitechLogo</a>;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; </div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <a class="code" href="classWAL_1_1Component.html#ad27cb4b0bdc95b6245f6b5a8c56cc78a">Component</a> *<a class="code" href="classBBM_1_1IntroAnimationComponent.html#ae8f930885531b3e9928e14662f045f80">clone</a>(<a class="code" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;entity) <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="keyword">explicit</span> <a class="code" href="classBBM_1_1IntroAnimationComponent.html#ae8952970ca2b14a65858ba678a0a6aa9">IntroAnimationComponent</a>(<a class="code" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;entity);</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <a class="code" href="classBBM_1_1IntroAnimationComponent.html#ae8952970ca2b14a65858ba678a0a6aa9">IntroAnimationComponent</a>(<span class="keyword">const</span> <a class="code" href="classBBM_1_1IntroAnimationComponent.html">IntroAnimationComponent</a> &amp;other) = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <a class="code" href="classBBM_1_1IntroAnimationComponent.html#a55f328137059bebbbf31cda5667648e4">~IntroAnimationComponent</a>() <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <a class="code" href="classBBM_1_1IntroAnimationComponent.html">IntroAnimationComponent</a> &amp;<a class="code" href="classBBM_1_1IntroAnimationComponent.html#a1fe01a731ebd091f3527f1c2a54ff16d">operator=</a>(<span class="keyword">const</span> <a class="code" href="classBBM_1_1IntroAnimationComponent.html">IntroAnimationComponent</a> &amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; };</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;}</div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclassBBM_1_1IntroAnimationComponent_html_ae8952970ca2b14a65858ba678a0a6aa9"><div class="ttname"><a href="classBBM_1_1IntroAnimationComponent.html#ae8952970ca2b14a65858ba678a0a6aa9">BBM::IntroAnimationComponent::IntroAnimationComponent</a></div><div class="ttdeci">IntroAnimationComponent(WAL::Entity &amp;entity)</div><div class="ttdoc">Create a new, default IntroAnimationComponent.</div><div class="ttdef"><b>Definition:</b> IntroAnimationComponent.cpp:9</div></div>
<div class="ttc" id="aclassBBM_1_1IntroAnimationComponent_html_a67e7c95f583c0b6926ff2e72595bd122a8672d282f1c9c0760c75c35d4346dd4d"><div class="ttname"><a href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122a8672d282f1c9c0760c75c35d4346dd4d">BBM::IntroAnimationComponent::fading</a></div><div class="ttdeci">@ fading</div><div class="ttdef"><b>Definition:</b> IntroAnimationComponent.hpp:20</div></div>
<div class="ttc" id="aclassBBM_1_1IntroAnimationComponent_html_a1fe01a731ebd091f3527f1c2a54ff16d"><div class="ttname"><a href="classBBM_1_1IntroAnimationComponent.html#a1fe01a731ebd091f3527f1c2a54ff16d">BBM::IntroAnimationComponent::operator=</a></div><div class="ttdeci">IntroAnimationComponent &amp; operator=(const IntroAnimationComponent &amp;)=delete</div><div class="ttdoc">A IntroAnimationComponent is not assignable.</div></div>
<div class="ttc" id="aclassBBM_1_1IntroAnimationComponent_html_a67e7c95f583c0b6926ff2e72595bd122a1249882e00c38790974d68118fd7c9d7"><div class="ttname"><a href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122a1249882e00c38790974d68118fd7c9d7">BBM::IntroAnimationComponent::epitechLogo</a></div><div class="ttdeci">@ epitechLogo</div><div class="ttdef"><b>Definition:</b> IntroAnimationComponent.hpp:15</div></div>
<div class="ttc" id="aclassBBM_1_1IntroAnimationComponent_html_ae8f930885531b3e9928e14662f045f80"><div class="ttname"><a href="classBBM_1_1IntroAnimationComponent.html#ae8f930885531b3e9928e14662f045f80">BBM::IntroAnimationComponent::clone</a></div><div class="ttdeci">Component * clone(WAL::Entity &amp;entity) const override</div><div class="ttdoc">Clone a component for another or the same entity.</div><div class="ttdef"><b>Definition:</b> IntroAnimationComponent.cpp:13</div></div>
<div class="ttc" id="aclassBBM_1_1IntroAnimationComponent_html"><div class="ttname"><a href="classBBM_1_1IntroAnimationComponent.html">BBM::IntroAnimationComponent</a></div><div class="ttdoc">A component to slowly center entities to the middle of their current block. This allow flexibility in...</div><div class="ttdef"><b>Definition:</b> IntroAnimationComponent.hpp:9</div></div>
<div class="ttc" id="aclassBBM_1_1IntroAnimationComponent_html_ae4688872a4f16282e588c22fcf512d0d"><div class="ttname"><a href="classBBM_1_1IntroAnimationComponent.html#ae4688872a4f16282e588c22fcf512d0d">BBM::IntroAnimationComponent::frameCounter</a></div><div class="ttdeci">unsigned int frameCounter</div><div class="ttdef"><b>Definition:</b> IntroAnimationComponent.hpp:12</div></div>
<div class="ttc" id="aclassBBM_1_1IntroAnimationComponent_html_a67e7c95f583c0b6926ff2e72595bd122a9dd0ef22e004bdac44e6e016d92e663c"><div class="ttname"><a href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122a9dd0ef22e004bdac44e6e016d92e663c">BBM::IntroAnimationComponent::bottomRightGrowing</a></div><div class="ttdeci">@ bottomRightGrowing</div><div class="ttdef"><b>Definition:</b> IntroAnimationComponent.hpp:18</div></div>
<div class="ttc" id="aclassWAL_1_1Component_html"><div class="ttname"><a href="classWAL_1_1Component.html">WAL::Component</a></div><div class="ttdoc">Represent a single component of WAL.</div><div class="ttdef"><b>Definition:</b> Component.hpp:17</div></div>
<div class="ttc" id="anamespaceBBM_html"><div class="ttname"><a href="namespaceBBM.html">BBM</a></div><div class="ttdef"><b>Definition:</b> AnimationsComponent.cpp:9</div></div>
<div class="ttc" id="aclassWAL_1_1Entity_html"><div class="ttname"><a href="classWAL_1_1Entity.html">WAL::Entity</a></div><div class="ttdoc">An entity of the WAL's ECS.</div><div class="ttdef"><b>Definition:</b> Entity.hpp:20</div></div>
<div class="ttc" id="aComponent_8hpp_html"><div class="ttname"><a href="Component_8hpp.html">Component.hpp</a></div></div>
<div class="ttc" id="aclassBBM_1_1IntroAnimationComponent_html_a55f328137059bebbbf31cda5667648e4"><div class="ttname"><a href="classBBM_1_1IntroAnimationComponent.html#a55f328137059bebbbf31cda5667648e4">BBM::IntroAnimationComponent::~IntroAnimationComponent</a></div><div class="ttdeci">~IntroAnimationComponent() override=default</div><div class="ttdoc">A default destructor.</div></div>
<div class="ttc" id="aclassBBM_1_1IntroAnimationComponent_html_a67e7c95f583c0b6926ff2e72595bd122a5e2a65df56eab3f8c86709b9d151aea4"><div class="ttname"><a href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122a5e2a65df56eab3f8c86709b9d151aea4">BBM::IntroAnimationComponent::prompt</a></div><div class="ttdeci">@ prompt</div><div class="ttdef"><b>Definition:</b> IntroAnimationComponent.hpp:21</div></div>
<div class="ttc" id="aclassBBM_1_1IntroAnimationComponent_html_a67e7c95f583c0b6926ff2e72595bd122"><div class="ttname"><a href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122">BBM::IntroAnimationComponent::animationSteps</a></div><div class="ttdeci">animationSteps</div><div class="ttdef"><b>Definition:</b> IntroAnimationComponent.hpp:14</div></div>
<div class="ttc" id="aclassBBM_1_1IntroAnimationComponent_html_a67e7c95f583c0b6926ff2e72595bd122acf926c73377f1b30cf55c9580260d2d8"><div class="ttname"><a href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122acf926c73377f1b30cf55c9580260d2d8">BBM::IntroAnimationComponent::boxBlinking</a></div><div class="ttdeci">@ boxBlinking</div><div class="ttdef"><b>Definition:</b> IntroAnimationComponent.hpp:16</div></div>
<div class="ttc" id="aclassWAL_1_1Component_html_ad27cb4b0bdc95b6245f6b5a8c56cc78a"><div class="ttname"><a href="classWAL_1_1Component.html#ad27cb4b0bdc95b6245f6b5a8c56cc78a">WAL::Component::Component</a></div><div class="ttdeci">Component(Entity &amp;entity)</div><div class="ttdoc">A component can't be instantiated, it should be derived.</div><div class="ttdef"><b>Definition:</b> Component.cpp:9</div></div>
<div class="ttc" id="aclassBBM_1_1IntroAnimationComponent_html_a67e7c95f583c0b6926ff2e72595bd122a20537be25886c94103814a9b08a245fa"><div class="ttname"><a href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122a20537be25886c94103814a9b08a245fa">BBM::IntroAnimationComponent::lettersTyping</a></div><div class="ttdeci">@ lettersTyping</div><div class="ttdef"><b>Definition:</b> IntroAnimationComponent.hpp:19</div></div>
<div class="ttc" id="aclassBBM_1_1IntroAnimationComponent_html_a67e7c95f583c0b6926ff2e72595bd122a9379a0101f9b32b31f45c6aa298153fa"><div class="ttname"><a href="classBBM_1_1IntroAnimationComponent.html#a67e7c95f583c0b6926ff2e72595bd122a9379a0101f9b32b31f45c6aa298153fa">BBM::IntroAnimationComponent::topLeftgrowing</a></div><div class="ttdeci">@ topLeftgrowing</div><div class="ttdef"><b>Definition:</b> IntroAnimationComponent.hpp:17</div></div>
<div class="ttc" id="aclassBBM_1_1IntroAnimationComponent_html_a130ae4940569ffc141a4080f843a730a"><div class="ttname"><a href="classBBM_1_1IntroAnimationComponent.html#a130ae4940569ffc141a4080f843a730a">BBM::IntroAnimationComponent::currentStep</a></div><div class="ttdeci">enum animationSteps currentStep</div><div class="ttdef"><b>Definition:</b> IntroAnimationComponent.hpp:24</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>