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

166 lines
26 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/Gamepad/GamepadComponent.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_97e0ea9d2946e7a736aa355df7cc81fd.html">Gamepad</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">GamepadComponent.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="GamepadComponent_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 Tom Augier on 2021-05-20.</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// Edited by Benjamin Henry on 2021-05-20.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160; </div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160; </div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="Gamepad_8hpp.html">Controllers/Gamepad.hpp</a>&quot;</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="Component_8hpp.html">Component/Component.hpp</a>&quot;</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="Entity_8hpp.html">Entity/Entity.hpp</a>&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160; </div>
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c"> 12</a></span>&#160;<span class="keyword">using</span> <a class="code" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a> = <a class="code" href="classRAY_1_1Controller_1_1GamePad.html#ab10397a3913aef7a94fee1b75983e414">RAY::Controller::GamePad::Button</a>;</div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="GamepadComponent_8hpp.html#af04ae4488c7e08b4bc9cb15a6ffb682a"> 13</a></span>&#160;<span class="keyword">using</span> <a class="code" href="GamepadComponent_8hpp.html#af04ae4488c7e08b4bc9cb15a6ffb682a">Axis</a> = <a class="code" href="classRAY_1_1Controller_1_1GamePad.html#a7f2463af8a1db98fd0cf67d08e7dfda1">RAY::Controller::GamePad::Axis</a>;</div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="GamepadComponent_8hpp.html#a90104fdaf0b257656c26504f9bb1584d"> 14</a></span>&#160;<span class="keyword">using</span> <a class="code" href="classRAY_1_1Controller_1_1GamePad.html">Gamepad</a> = <a class="code" href="classRAY_1_1Controller_1_1GamePad.html">RAY::Controller::GamePad</a>;</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceBBM.html">BBM</a></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;{</div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classBBM_1_1GamepadComponent.html"> 18</a></span>&#160; <span class="keyword">class </span><a class="code" href="classBBM_1_1GamepadComponent.html">GamepadComponent</a> : <span class="keyword">public</span> <a class="code" href="classWAL_1_1Component.html">WAL::Component</a></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; {</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="classBBM_1_1GamepadComponent.html#a38d2ff7195da78dfcbd28ad0d704cf07"> 22</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classBBM_1_1GamepadComponent.html#a38d2ff7195da78dfcbd28ad0d704cf07">_ID</a>;</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classBBM_1_1GamepadComponent.html#a0a9bb666a256aa02a4936299e252e8d8"> 25</a></span>&#160; <a class="code" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a> <a class="code" href="classBBM_1_1GamepadComponent.html#a0a9bb666a256aa02a4936299e252e8d8">keySecondary</a> = GAMEPAD_BUTTON_RIGHT_FACE_RIGHT;</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classBBM_1_1GamepadComponent.html#a6cb2b48b20ddc9f57ef63216ef2936cd"> 27</a></span>&#160; <a class="code" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a> <a class="code" href="classBBM_1_1GamepadComponent.html#a6cb2b48b20ddc9f57ef63216ef2936cd">keyBomb</a> = GAMEPAD_BUTTON_RIGHT_FACE_DOWN;</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classBBM_1_1GamepadComponent.html#a4c8f692aada7d6977d85b26ea34e8c17"> 29</a></span>&#160; <a class="code" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a> <a class="code" href="classBBM_1_1GamepadComponent.html#a4c8f692aada7d6977d85b26ea34e8c17">keyPause</a> = GAMEPAD_BUTTON_MIDDLE;</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classBBM_1_1GamepadComponent.html#a1b76e2625bb6507ebcc77c63a6371c1a"> 31</a></span>&#160; <a class="code" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a> <a class="code" href="classBBM_1_1GamepadComponent.html#a1b76e2625bb6507ebcc77c63a6371c1a">keyRight</a> = GAMEPAD_BUTTON_LEFT_FACE_RIGHT;</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classBBM_1_1GamepadComponent.html#a906bc6ed4566a9739d44623e21b0c92c"> 33</a></span>&#160; <a class="code" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a> <a class="code" href="classBBM_1_1GamepadComponent.html#a906bc6ed4566a9739d44623e21b0c92c">keyLeft</a> = GAMEPAD_BUTTON_LEFT_FACE_LEFT;</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classBBM_1_1GamepadComponent.html#ae9523e5a2b4a6ed71bf9897521b81a63"> 35</a></span>&#160; <a class="code" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a> <a class="code" href="classBBM_1_1GamepadComponent.html#ae9523e5a2b4a6ed71bf9897521b81a63">keyUp</a> = GAMEPAD_BUTTON_LEFT_FACE_UP;</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classBBM_1_1GamepadComponent.html#a96468d04fc32bf7d0620afe7fb1054db"> 37</a></span>&#160; <a class="code" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a> <a class="code" href="classBBM_1_1GamepadComponent.html#a96468d04fc32bf7d0620afe7fb1054db">keyDown</a> = GAMEPAD_BUTTON_LEFT_FACE_DOWN;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classBBM_1_1GamepadComponent.html#aa4a1a2fe0ba826cd2fd11e865ff4619b"> 39</a></span>&#160; <a class="code" href="GamepadComponent_8hpp.html#af04ae4488c7e08b4bc9cb15a6ffb682a">Axis</a> <a class="code" href="classBBM_1_1GamepadComponent.html#aa4a1a2fe0ba826cd2fd11e865ff4619b">LeftStickX</a> = GAMEPAD_AXIS_LEFT_X;</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classBBM_1_1GamepadComponent.html#a6beb1530e0e2e404ea7d53e6bcc229ee"> 40</a></span>&#160; <a class="code" href="GamepadComponent_8hpp.html#af04ae4488c7e08b4bc9cb15a6ffb682a">Axis</a> <a class="code" href="classBBM_1_1GamepadComponent.html#a6beb1530e0e2e404ea7d53e6bcc229ee">LeftStickY</a> = GAMEPAD_AXIS_LEFT_Y;</div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classBBM_1_1GamepadComponent.html#a84fff8e54ee8293fb0dee8c1103f6abb"> 41</a></span>&#160; <a class="code" href="GamepadComponent_8hpp.html#af04ae4488c7e08b4bc9cb15a6ffb682a">Axis</a> <a class="code" href="classBBM_1_1GamepadComponent.html#a84fff8e54ee8293fb0dee8c1103f6abb">RightStickX</a> = GAMEPAD_AXIS_RIGHT_X;</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classBBM_1_1GamepadComponent.html#a91d99f416e47d4ad86c2277446eaa1e2"> 42</a></span>&#160; <a class="code" href="GamepadComponent_8hpp.html#af04ae4488c7e08b4bc9cb15a6ffb682a">Axis</a> <a class="code" href="classBBM_1_1GamepadComponent.html#a91d99f416e47d4ad86c2277446eaa1e2">RightStickY</a> = GAMEPAD_AXIS_RIGHT_Y;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <a class="code" href="classWAL_1_1Component.html">WAL::Component</a> *<a class="code" href="classBBM_1_1GamepadComponent.html#a9236f1517e38c0941e87b174831e4600">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="l00046"></a><span class="lineno"> 46</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classBBM_1_1GamepadComponent.html#a552c5d4b1601c8892817321434fa99cd">onStart</a>() <span class="keyword">override</span>;</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keyword">explicit</span> <a class="code" href="classBBM_1_1GamepadComponent.html#aab77bf2146805d861cdb54034289a74e">GamepadComponent</a>(<a class="code" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;entity);</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; </div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <a class="code" href="classBBM_1_1GamepadComponent.html#aab77bf2146805d861cdb54034289a74e">GamepadComponent</a>(<a class="code" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;entity, <span class="keywordtype">int</span> <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <a class="code" href="classBBM_1_1GamepadComponent.html#aab77bf2146805d861cdb54034289a74e">GamepadComponent</a>(<span class="keyword">const</span> <a class="code" href="classBBM_1_1GamepadComponent.html">GamepadComponent</a> &amp;) = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <a class="code" href="classBBM_1_1GamepadComponent.html#aa343e7d46cb52673055e0345e477a154">~GamepadComponent</a>() <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <a class="code" href="classBBM_1_1GamepadComponent.html">GamepadComponent</a> &amp;<a class="code" href="classBBM_1_1GamepadComponent.html#a9126519fa90c96dafb63622379b1d09f">operator=</a>(<span class="keyword">const</span> <a class="code" href="classBBM_1_1GamepadComponent.html">GamepadComponent</a> &amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; </div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <a class="code" href="classBBM_1_1GamepadComponent.html">GamepadComponent</a> &amp;<a class="code" href="classBBM_1_1GamepadComponent.html#a0449760f81aecb7f5f9324d2ac7ca1ab">setID</a>(<span class="keywordtype">int</span> ID);</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keywordtype">int</span> <a class="code" href="classBBM_1_1GamepadComponent.html#a300f876b1d57ebef4e2512a152d2dd12">getID</a>() <span class="keyword">const</span>; </div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; };</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;}</div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclassBBM_1_1GamepadComponent_html_aab77bf2146805d861cdb54034289a74e"><div class="ttname"><a href="classBBM_1_1GamepadComponent.html#aab77bf2146805d861cdb54034289a74e">BBM::GamepadComponent::GamepadComponent</a></div><div class="ttdeci">GamepadComponent(WAL::Entity &amp;entity)</div><div class="ttdoc">Create a new gampad component using default keys.</div><div class="ttdef"><b>Definition:</b> GamepadComponent.cpp:11</div></div>
<div class="ttc" id="aclassBBM_1_1GamepadComponent_html_a6beb1530e0e2e404ea7d53e6bcc229ee"><div class="ttname"><a href="classBBM_1_1GamepadComponent.html#a6beb1530e0e2e404ea7d53e6bcc229ee">BBM::GamepadComponent::LeftStickY</a></div><div class="ttdeci">Axis LeftStickY</div><div class="ttdef"><b>Definition:</b> GamepadComponent.hpp:40</div></div>
<div class="ttc" id="aclassBBM_1_1GamepadComponent_html_aa4a1a2fe0ba826cd2fd11e865ff4619b"><div class="ttname"><a href="classBBM_1_1GamepadComponent.html#aa4a1a2fe0ba826cd2fd11e865ff4619b">BBM::GamepadComponent::LeftStickX</a></div><div class="ttdeci">Axis LeftStickX</div><div class="ttdef"><b>Definition:</b> GamepadComponent.hpp:39</div></div>
<div class="ttc" id="aGamepadComponent_8hpp_html_af04ae4488c7e08b4bc9cb15a6ffb682a"><div class="ttname"><a href="GamepadComponent_8hpp.html#af04ae4488c7e08b4bc9cb15a6ffb682a">Axis</a></div><div class="ttdeci">RAY::Controller::GamePad::Axis Axis</div><div class="ttdef"><b>Definition:</b> GamepadComponent.hpp:13</div></div>
<div class="ttc" id="aclassBBM_1_1GamepadComponent_html_a552c5d4b1601c8892817321434fa99cd"><div class="ttname"><a href="classBBM_1_1GamepadComponent.html#a552c5d4b1601c8892817321434fa99cd">BBM::GamepadComponent::onStart</a></div><div class="ttdeci">void onStart() override</div><div class="ttdoc">The entity or this component has just been enabled.</div><div class="ttdef"><b>Definition:</b> GamepadComponent.cpp:35</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="aGamepadComponent_8hpp_html_a3b27142d34f419ba0a21a2eea23f6e3c"><div class="ttname"><a href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a></div><div class="ttdeci">RAY::Controller::GamePad::Button Button</div><div class="ttdef"><b>Definition:</b> GamepadComponent.hpp:12</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="aEntity_8hpp_html"><div class="ttname"><a href="Entity_8hpp.html">Entity.hpp</a></div></div>
<div class="ttc" id="aclassBBM_1_1GamepadComponent_html_a906bc6ed4566a9739d44623e21b0c92c"><div class="ttname"><a href="classBBM_1_1GamepadComponent.html#a906bc6ed4566a9739d44623e21b0c92c">BBM::GamepadComponent::keyLeft</a></div><div class="ttdeci">Button keyLeft</div><div class="ttdoc">move left key</div><div class="ttdef"><b>Definition:</b> GamepadComponent.hpp:33</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="aclassBBM_1_1GamepadComponent_html_a91d99f416e47d4ad86c2277446eaa1e2"><div class="ttname"><a href="classBBM_1_1GamepadComponent.html#a91d99f416e47d4ad86c2277446eaa1e2">BBM::GamepadComponent::RightStickY</a></div><div class="ttdeci">Axis RightStickY</div><div class="ttdef"><b>Definition:</b> GamepadComponent.hpp:42</div></div>
<div class="ttc" id="aGamepad_8hpp_html"><div class="ttname"><a href="Gamepad_8hpp.html">Gamepad.hpp</a></div></div>
<div class="ttc" id="aclassBBM_1_1GamepadComponent_html_a1b76e2625bb6507ebcc77c63a6371c1a"><div class="ttname"><a href="classBBM_1_1GamepadComponent.html#a1b76e2625bb6507ebcc77c63a6371c1a">BBM::GamepadComponent::keyRight</a></div><div class="ttdeci">Button keyRight</div><div class="ttdoc">move right key</div><div class="ttdef"><b>Definition:</b> GamepadComponent.hpp:31</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_1GamepadComponent_html_a300f876b1d57ebef4e2512a152d2dd12"><div class="ttname"><a href="classBBM_1_1GamepadComponent.html#a300f876b1d57ebef4e2512a152d2dd12">BBM::GamepadComponent::getID</a></div><div class="ttdeci">int getID() const</div><div class="ttdoc">Get the ID of the Gamepad the events must be fetch from;.</div><div class="ttdef"><b>Definition:</b> GamepadComponent.cpp:30</div></div>
<div class="ttc" id="aclassBBM_1_1GamepadComponent_html_a4c8f692aada7d6977d85b26ea34e8c17"><div class="ttname"><a href="classBBM_1_1GamepadComponent.html#a4c8f692aada7d6977d85b26ea34e8c17">BBM::GamepadComponent::keyPause</a></div><div class="ttdeci">Button keyPause</div><div class="ttdoc">pause key</div><div class="ttdef"><b>Definition:</b> GamepadComponent.hpp:29</div></div>
<div class="ttc" id="aclassBBM_1_1GamepadComponent_html_a9126519fa90c96dafb63622379b1d09f"><div class="ttname"><a href="classBBM_1_1GamepadComponent.html#a9126519fa90c96dafb63622379b1d09f">BBM::GamepadComponent::operator=</a></div><div class="ttdeci">GamepadComponent &amp; operator=(const GamepadComponent &amp;)=delete</div><div class="ttdoc">A Gamepad component can't be assigned.</div></div>
<div class="ttc" id="aclassBBM_1_1GamepadComponent_html_a6cb2b48b20ddc9f57ef63216ef2936cd"><div class="ttname"><a href="classBBM_1_1GamepadComponent.html#a6cb2b48b20ddc9f57ef63216ef2936cd">BBM::GamepadComponent::keyBomb</a></div><div class="ttdeci">Button keyBomb</div><div class="ttdoc">bomb key</div><div class="ttdef"><b>Definition:</b> GamepadComponent.hpp:27</div></div>
<div class="ttc" id="aclassBBM_1_1GamepadComponent_html_a84fff8e54ee8293fb0dee8c1103f6abb"><div class="ttname"><a href="classBBM_1_1GamepadComponent.html#a84fff8e54ee8293fb0dee8c1103f6abb">BBM::GamepadComponent::RightStickX</a></div><div class="ttdeci">Axis RightStickX</div><div class="ttdef"><b>Definition:</b> GamepadComponent.hpp:41</div></div>
<div class="ttc" id="aclassRAY_1_1Controller_1_1GamePad_html"><div class="ttname"><a href="classRAY_1_1Controller_1_1GamePad.html">RAY::Controller::GamePad</a></div><div class="ttdoc">Entity representing a gamepad controller.</div><div class="ttdef"><b>Definition:</b> Gamepad.hpp:17</div></div>
<div class="ttc" id="aclassRAY_1_1Controller_1_1GamePad_html_ab10397a3913aef7a94fee1b75983e414"><div class="ttname"><a href="classRAY_1_1Controller_1_1GamePad.html#ab10397a3913aef7a94fee1b75983e414">RAY::Controller::GamePad::Button</a></div><div class="ttdeci">::GamepadButton Button</div><div class="ttdef"><b>Definition:</b> Gamepad.hpp:19</div></div>
<div class="ttc" id="aclassBBM_1_1GamepadComponent_html_a9236f1517e38c0941e87b174831e4600"><div class="ttname"><a href="classBBM_1_1GamepadComponent.html#a9236f1517e38c0941e87b174831e4600">BBM::GamepadComponent::clone</a></div><div class="ttdeci">WAL::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> GamepadComponent.cpp:19</div></div>
<div class="ttc" id="aclassRAY_1_1Controller_1_1GamePad_html_a7f2463af8a1db98fd0cf67d08e7dfda1"><div class="ttname"><a href="classRAY_1_1Controller_1_1GamePad.html#a7f2463af8a1db98fd0cf67d08e7dfda1">RAY::Controller::GamePad::Axis</a></div><div class="ttdeci">::GamepadAxis Axis</div><div class="ttdef"><b>Definition:</b> Gamepad.hpp:20</div></div>
<div class="ttc" id="aclassBBM_1_1GamepadComponent_html"><div class="ttname"><a href="classBBM_1_1GamepadComponent.html">BBM::GamepadComponent</a></div><div class="ttdef"><b>Definition:</b> GamepadComponent.hpp:18</div></div>
<div class="ttc" id="aclassBBM_1_1GamepadComponent_html_a0a9bb666a256aa02a4936299e252e8d8"><div class="ttname"><a href="classBBM_1_1GamepadComponent.html#a0a9bb666a256aa02a4936299e252e8d8">BBM::GamepadComponent::keySecondary</a></div><div class="ttdeci">Button keySecondary</div><div class="ttdoc">jump key</div><div class="ttdef"><b>Definition:</b> GamepadComponent.hpp:25</div></div>
<div class="ttc" id="aclassBBM_1_1GamepadComponent_html_a38d2ff7195da78dfcbd28ad0d704cf07"><div class="ttname"><a href="classBBM_1_1GamepadComponent.html#a38d2ff7195da78dfcbd28ad0d704cf07">BBM::GamepadComponent::_ID</a></div><div class="ttdeci">int _ID</div><div class="ttdoc">Identifier of the gamepad, used to fetch events.</div><div class="ttdef"><b>Definition:</b> GamepadComponent.hpp:22</div></div>
<div class="ttc" id="aclassBBM_1_1GamepadComponent_html_a96468d04fc32bf7d0620afe7fb1054db"><div class="ttname"><a href="classBBM_1_1GamepadComponent.html#a96468d04fc32bf7d0620afe7fb1054db">BBM::GamepadComponent::keyDown</a></div><div class="ttdeci">Button keyDown</div><div class="ttdoc">move down key</div><div class="ttdef"><b>Definition:</b> GamepadComponent.hpp:37</div></div>
<div class="ttc" id="aclassBBM_1_1GamepadComponent_html_aa343e7d46cb52673055e0345e477a154"><div class="ttname"><a href="classBBM_1_1GamepadComponent.html#aa343e7d46cb52673055e0345e477a154">BBM::GamepadComponent::~GamepadComponent</a></div><div class="ttdeci">~GamepadComponent() override=default</div><div class="ttdoc">default destructor</div></div>
<div class="ttc" id="aclassBBM_1_1GamepadComponent_html_ae9523e5a2b4a6ed71bf9897521b81a63"><div class="ttname"><a href="classBBM_1_1GamepadComponent.html#ae9523e5a2b4a6ed71bf9897521b81a63">BBM::GamepadComponent::keyUp</a></div><div class="ttdeci">Button keyUp</div><div class="ttdoc">move up key</div><div class="ttdef"><b>Definition:</b> GamepadComponent.hpp:35</div></div>
<div class="ttc" id="aclassBBM_1_1GamepadComponent_html_a0449760f81aecb7f5f9324d2ac7ca1ab"><div class="ttname"><a href="classBBM_1_1GamepadComponent.html#a0449760f81aecb7f5f9324d2ac7ca1ab">BBM::GamepadComponent::setID</a></div><div class="ttdeci">GamepadComponent &amp; setID(int ID)</div><div class="ttdoc">Set the ID of the Gamepad the events must be fetch from;.</div><div class="ttdef"><b>Definition:</b> GamepadComponent.cpp: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>