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

114 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.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Bomberman: sources/System/GridCentered/GridCenteredSystem.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_dbff9d19e82c23288cf26fa638b485e8.html">System</a></li><li class="navelem"><a class="el" href="dir_8e39fdf3a0a64961448bff04117302aa.html">GridCentered</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">GridCenteredSystem.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="GridCenteredSystem_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="comment">//</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// Created by Zoe Roux on 5/24/21.</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">//</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="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160; </div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="System_8hpp.html">System/System.hpp</a>&gt;</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PositionComponent_8hpp.html">Component/Position/PositionComponent.hpp</a>&quot;</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceBBM.html">BBM</a></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;{</div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="classBBM_1_1GridCenteredSystem.html"> 13</a></span>&#160; <span class="keyword">class </span><a class="code" href="classBBM_1_1GridCenteredSystem.html">GridCenteredSystem</a> : <span class="keyword">public</span> <a class="code" href="classWAL_1_1System.html">WAL::System</a>&lt;GridCenteredComponent, MovableComponent, PositionComponent&gt;</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; {</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classBBM_1_1GridCenteredSystem.html#ae846576db4843087e5d6f30f7a3e556e">onFixedUpdate</a>(<a class="code" href="classWAL_1_1ViewEntity.html">WAL::ViewEntity&lt;GridCenteredComponent, MovableComponent, PositionComponent&gt;</a> &amp;entity) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; </div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; <span class="keyword">explicit</span> <a class="code" href="classBBM_1_1GridCenteredSystem.html#a7d1c3f0e0cd816b2b2bf282587fd987f">GridCenteredSystem</a>(<a class="code" href="classWAL_1_1Wal.html">WAL::Wal</a> &amp;wal);</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; <a class="code" href="classBBM_1_1GridCenteredSystem.html#a7d1c3f0e0cd816b2b2bf282587fd987f">GridCenteredSystem</a>(<span class="keyword">const</span> <a class="code" href="classBBM_1_1GridCenteredSystem.html">GridCenteredSystem</a> &amp;) = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <a class="code" href="classBBM_1_1GridCenteredSystem.html#a835c7833e28b7827cc5c12b6c3a6b4cf">~GridCenteredSystem</a>() <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <a class="code" href="classBBM_1_1GridCenteredSystem.html">GridCenteredSystem</a> &amp;<a class="code" href="classBBM_1_1GridCenteredSystem.html#a587abbfc511e5dba680ea5133ab49316">operator=</a>(<span class="keyword">const</span> <a class="code" href="classBBM_1_1GridCenteredSystem.html">GridCenteredSystem</a> &amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; };</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;}</div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclassWAL_1_1ViewEntity_html"><div class="ttname"><a href="classWAL_1_1ViewEntity.html">WAL::ViewEntity</a></div><div class="ttdef"><b>Definition:</b> View.hpp:19</div></div>
<div class="ttc" id="aSystem_8hpp_html"><div class="ttname"><a href="System_8hpp.html">System.hpp</a></div></div>
<div class="ttc" id="aclassBBM_1_1GridCenteredSystem_html_ae846576db4843087e5d6f30f7a3e556e"><div class="ttname"><a href="classBBM_1_1GridCenteredSystem.html#ae846576db4843087e5d6f30f7a3e556e">BBM::GridCenteredSystem::onFixedUpdate</a></div><div class="ttdeci">void onFixedUpdate(WAL::ViewEntity&lt; GridCenteredComponent, MovableComponent, PositionComponent &gt; &amp;entity) override</div><div class="ttdef"><b>Definition:</b> GridCenteredSystem.cpp:15</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="aPositionComponent_8hpp_html"><div class="ttname"><a href="PositionComponent_8hpp.html">PositionComponent.hpp</a></div></div>
<div class="ttc" id="aclassWAL_1_1Wal_html"><div class="ttname"><a href="classWAL_1_1Wal.html">WAL::Wal</a></div><div class="ttdoc">The main WAL class, it is used to setup and run the ECS.</div><div class="ttdef"><b>Definition:</b> Wal.hpp:27</div></div>
<div class="ttc" id="aclassBBM_1_1GridCenteredSystem_html"><div class="ttname"><a href="classBBM_1_1GridCenteredSystem.html">BBM::GridCenteredSystem</a></div><div class="ttdoc">The system handling GridCenteredComponent.</div><div class="ttdef"><b>Definition:</b> GridCenteredSystem.hpp:13</div></div>
<div class="ttc" id="aclassWAL_1_1System_html"><div class="ttname"><a href="classWAL_1_1System.html">WAL::System</a></div><div class="ttdoc">A base system of WAL.</div><div class="ttdef"><b>Definition:</b> System.hpp:22</div></div>
<div class="ttc" id="aclassBBM_1_1GridCenteredSystem_html_a7d1c3f0e0cd816b2b2bf282587fd987f"><div class="ttname"><a href="classBBM_1_1GridCenteredSystem.html#a7d1c3f0e0cd816b2b2bf282587fd987f">BBM::GridCenteredSystem::GridCenteredSystem</a></div><div class="ttdeci">GridCenteredSystem(WAL::Wal &amp;wal)</div><div class="ttdoc">A default constructor.</div><div class="ttdef"><b>Definition:</b> GridCenteredSystem.cpp:11</div></div>
<div class="ttc" id="aclassBBM_1_1GridCenteredSystem_html_a835c7833e28b7827cc5c12b6c3a6b4cf"><div class="ttname"><a href="classBBM_1_1GridCenteredSystem.html#a835c7833e28b7827cc5c12b6c3a6b4cf">BBM::GridCenteredSystem::~GridCenteredSystem</a></div><div class="ttdeci">~GridCenteredSystem() override=default</div><div class="ttdoc">A default destructor.</div></div>
<div class="ttc" id="aclassBBM_1_1GridCenteredSystem_html_a587abbfc511e5dba680ea5133ab49316"><div class="ttname"><a href="classBBM_1_1GridCenteredSystem.html#a587abbfc511e5dba680ea5133ab49316">BBM::GridCenteredSystem::operator=</a></div><div class="ttdeci">GridCenteredSystem &amp; operator=(const GridCenteredSystem &amp;)=delete</div><div class="ttdoc">A system is not assignable.</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>