mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-03 10:26:29 +00:00
117 lines
11 KiB
HTML
117 lines
11 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/Gamepad/GamepadSystem.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&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="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_01e88308d7529b12ec40aaf0d88278cb.html">Gamepad</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">GamepadSystem.hpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="GamepadSystem_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> <span class="comment">//</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Created by Arthur Jamet on 2021-05-31.</span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">//</span></div>
|
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>  </div>
|
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#pragma once</span></div>
|
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  </div>
|
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include "<a class="code" href="System_8hpp.html">System/System.hpp</a>"</span></div>
|
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include <map></span></div>
|
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include "<a class="code" href="GamepadComponent_8hpp.html">Component/Gamepad/GamepadComponent.hpp</a>"</span></div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include "<a class="code" href="ControllableComponent_8hpp.html">Component/Controllable/ControllableComponent.hpp</a>"</span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  </div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="keyword">namespace </span><a class="code" href="namespaceBBM.html">BBM</a></div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> {</div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="classBBM_1_1GamepadSystem.html"> 15</a></span>  <span class="keyword">class </span><a class="code" href="classBBM_1_1GamepadSystem.html">GamepadSystem</a> : <span class="keyword">public</span> <a class="code" href="classWAL_1_1System.html">WAL::System</a><GamepadComponent, ControllableComponent></div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  {</div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="keywordtype">void</span> <a class="code" href="classBBM_1_1GamepadSystem.html#ab4eee59799542c0a23fc5a1c1425f796">onUpdate</a>(<a class="code" href="classWAL_1_1ViewEntity.html">WAL::ViewEntity<GamepadComponent, ControllableComponent></a> &entity, std::chrono::nanoseconds) <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keyword">explicit</span> <a class="code" href="classBBM_1_1GamepadSystem.html#ad0e374b25368e37665846ea86e0747c5">GamepadSystem</a>(<a class="code" href="classWAL_1_1Wal.html">WAL::Wal</a> &wal);</div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <a class="code" href="classBBM_1_1GamepadSystem.html#ad0e374b25368e37665846ea86e0747c5">GamepadSystem</a>(<span class="keyword">const</span> <a class="code" href="classBBM_1_1GamepadSystem.html">GamepadSystem</a> &) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <a class="code" href="classBBM_1_1GamepadSystem.html#acdbd6883d15c131bd3fed0a471a0fe59">~GamepadSystem</a>() <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <a class="code" href="classBBM_1_1GamepadSystem.html">GamepadSystem</a> &<a class="code" href="classBBM_1_1GamepadSystem.html#a02d09a355ad35dec1597c0407640b7db">operator=</a>(<span class="keyword">const</span> <a class="code" href="classBBM_1_1GamepadSystem.html">GamepadSystem</a> &) = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  };</div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> }</div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<div class="ttc" id="aclassBBM_1_1GamepadSystem_html_ab4eee59799542c0a23fc5a1c1425f796"><div class="ttname"><a href="classBBM_1_1GamepadSystem.html#ab4eee59799542c0a23fc5a1c1425f796">BBM::GamepadSystem::onUpdate</a></div><div class="ttdeci">void onUpdate(WAL::ViewEntity< GamepadComponent, ControllableComponent > &entity, std::chrono::nanoseconds) override</div><div class="ttdef"><b>Definition:</b> GamepadSystem.cpp:20</div></div>
|
|
<div class="ttc" id="aclassBBM_1_1GamepadSystem_html_a02d09a355ad35dec1597c0407640b7db"><div class="ttname"><a href="classBBM_1_1GamepadSystem.html#a02d09a355ad35dec1597c0407640b7db">BBM::GamepadSystem::operator=</a></div><div class="ttdeci">GamepadSystem & operator=(const GamepadSystem &)=delete</div><div class="ttdoc">A system is not assignable.</div></div>
|
|
<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="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_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_1GamepadSystem_html_ad0e374b25368e37665846ea86e0747c5"><div class="ttname"><a href="classBBM_1_1GamepadSystem.html#ad0e374b25368e37665846ea86e0747c5">BBM::GamepadSystem::GamepadSystem</a></div><div class="ttdeci">GamepadSystem(WAL::Wal &wal)</div><div class="ttdoc">A default constructor.</div><div class="ttdef"><b>Definition:</b> GamepadSystem.cpp:16</div></div>
|
|
<div class="ttc" id="aControllableComponent_8hpp_html"><div class="ttname"><a href="ControllableComponent_8hpp.html">ControllableComponent.hpp</a></div></div>
|
|
<div class="ttc" id="aclassBBM_1_1GamepadSystem_html_acdbd6883d15c131bd3fed0a471a0fe59"><div class="ttname"><a href="classBBM_1_1GamepadSystem.html#acdbd6883d15c131bd3fed0a471a0fe59">BBM::GamepadSystem::~GamepadSystem</a></div><div class="ttdeci">~GamepadSystem() override=default</div><div class="ttdoc">A default destructor.</div></div>
|
|
<div class="ttc" id="aGamepadComponent_8hpp_html"><div class="ttname"><a href="GamepadComponent_8hpp.html">GamepadComponent.hpp</a></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_1GamepadSystem_html"><div class="ttname"><a href="classBBM_1_1GamepadSystem.html">BBM::GamepadSystem</a></div><div class="ttdoc">A system to handle Gamepad entities.</div><div class="ttdef"><b>Definition:</b> GamepadSystem.hpp:15</div></div>
|
|
<!-- 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>
|