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

637 lines
39 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::GamepadComponent 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&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="namespaceBBM.html">BBM</a></li><li class="navelem"><a class="el" href="classBBM_1_1GamepadComponent.html">GamepadComponent</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classBBM_1_1GamepadComponent-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">BBM::GamepadComponent Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="GamepadComponent_8hpp_source.html">GamepadComponent.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for BBM::GamepadComponent:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classBBM_1_1GamepadComponent__inherit__graph.svg" width="210" height="580"><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::GamepadComponent:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classBBM_1_1GamepadComponent__coll__graph.svg" width="210" height="1390"><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:a9236f1517e38c0941e87b174831e4600"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWAL_1_1Component.html">WAL::Component</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#a9236f1517e38c0941e87b174831e4600">clone</a> (<a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;entity) const override</td></tr>
<tr class="memdesc:a9236f1517e38c0941e87b174831e4600"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clone a component for another or the same entity. <a href="classBBM_1_1GamepadComponent.html#a9236f1517e38c0941e87b174831e4600">More...</a><br /></td></tr>
<tr class="separator:a9236f1517e38c0941e87b174831e4600"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a552c5d4b1601c8892817321434fa99cd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#a552c5d4b1601c8892817321434fa99cd">onStart</a> () override</td></tr>
<tr class="memdesc:a552c5d4b1601c8892817321434fa99cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">The entity or this component has just been enabled. <a href="classBBM_1_1GamepadComponent.html#a552c5d4b1601c8892817321434fa99cd">More...</a><br /></td></tr>
<tr class="separator:a552c5d4b1601c8892817321434fa99cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab77bf2146805d861cdb54034289a74e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#aab77bf2146805d861cdb54034289a74e">GamepadComponent</a> (<a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;entity)</td></tr>
<tr class="memdesc:aab77bf2146805d861cdb54034289a74e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new gampad component using default keys. <a href="classBBM_1_1GamepadComponent.html#aab77bf2146805d861cdb54034289a74e">More...</a><br /></td></tr>
<tr class="separator:aab77bf2146805d861cdb54034289a74e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3436173d94b2863b10952d20c2ae9b1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#ab3436173d94b2863b10952d20c2ae9b1">GamepadComponent</a> (<a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;entity, int id)</td></tr>
<tr class="memdesc:ab3436173d94b2863b10952d20c2ae9b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="classBBM_1_1PositionComponent.html" title="A basic position component.">PositionComponent</a> at a certain position. <a href="classBBM_1_1GamepadComponent.html#ab3436173d94b2863b10952d20c2ae9b1">More...</a><br /></td></tr>
<tr class="separator:ab3436173d94b2863b10952d20c2ae9b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af86164a320957c87112e4b56bcb95f7d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#af86164a320957c87112e4b56bcb95f7d">GamepadComponent</a> (const <a class="el" href="classBBM_1_1GamepadComponent.html">GamepadComponent</a> &amp;)=default</td></tr>
<tr class="memdesc:af86164a320957c87112e4b56bcb95f7d"><td class="mdescLeft">&#160;</td><td class="mdescRight">A Gamepad component is copy constructable. <a href="classBBM_1_1GamepadComponent.html#af86164a320957c87112e4b56bcb95f7d">More...</a><br /></td></tr>
<tr class="separator:af86164a320957c87112e4b56bcb95f7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa343e7d46cb52673055e0345e477a154"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#aa343e7d46cb52673055e0345e477a154">~GamepadComponent</a> () override=default</td></tr>
<tr class="memdesc:aa343e7d46cb52673055e0345e477a154"><td class="mdescLeft">&#160;</td><td class="mdescRight">default destructor <a href="classBBM_1_1GamepadComponent.html#aa343e7d46cb52673055e0345e477a154">More...</a><br /></td></tr>
<tr class="separator:aa343e7d46cb52673055e0345e477a154"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9126519fa90c96dafb63622379b1d09f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classBBM_1_1GamepadComponent.html">GamepadComponent</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#a9126519fa90c96dafb63622379b1d09f">operator=</a> (const <a class="el" href="classBBM_1_1GamepadComponent.html">GamepadComponent</a> &amp;)=delete</td></tr>
<tr class="memdesc:a9126519fa90c96dafb63622379b1d09f"><td class="mdescLeft">&#160;</td><td class="mdescRight">A Gamepad component can't be assigned. <a href="classBBM_1_1GamepadComponent.html#a9126519fa90c96dafb63622379b1d09f">More...</a><br /></td></tr>
<tr class="separator:a9126519fa90c96dafb63622379b1d09f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0449760f81aecb7f5f9324d2ac7ca1ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classBBM_1_1GamepadComponent.html">GamepadComponent</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#a0449760f81aecb7f5f9324d2ac7ca1ab">setID</a> (int ID)</td></tr>
<tr class="memdesc:a0449760f81aecb7f5f9324d2ac7ca1ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the ID of the Gamepad the events must be fetch from;. <a href="classBBM_1_1GamepadComponent.html#a0449760f81aecb7f5f9324d2ac7ca1ab">More...</a><br /></td></tr>
<tr class="separator:a0449760f81aecb7f5f9324d2ac7ca1ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a300f876b1d57ebef4e2512a152d2dd12"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#a300f876b1d57ebef4e2512a152d2dd12">getID</a> () const</td></tr>
<tr class="memdesc:a300f876b1d57ebef4e2512a152d2dd12"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the ID of the Gamepad the events must be fetch from;. <a href="classBBM_1_1GamepadComponent.html#a300f876b1d57ebef4e2512a152d2dd12">More...</a><br /></td></tr>
<tr class="separator:a300f876b1d57ebef4e2512a152d2dd12"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;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> &amp;&#160;</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> &amp;)=delete</td></tr>
<tr class="memdesc:a155fb97f22714a0f489af7442d7d3253 inherit pub_methods_classWAL_1_1Component"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:a3d8e13fdc53a63b0b1f8d15576f98cf8 inherit pub_methods_classWAL_1_1Component"><td class="memItemLeft" align="right" valign="top">virtual&#160;</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">&#160;</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">&#160;</td></tr>
<tr class="memitem:a0f3f4fe54fd06de1e685835977fef050 inherit pub_methods_classWAL_1_1Component"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</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">&#160;</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">&#160;</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:a0a9bb666a256aa02a4936299e252e8d8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#a0a9bb666a256aa02a4936299e252e8d8">keySecondary</a> = GAMEPAD_BUTTON_RIGHT_FACE_RIGHT</td></tr>
<tr class="memdesc:a0a9bb666a256aa02a4936299e252e8d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">jump key <a href="classBBM_1_1GamepadComponent.html#a0a9bb666a256aa02a4936299e252e8d8">More...</a><br /></td></tr>
<tr class="separator:a0a9bb666a256aa02a4936299e252e8d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cb2b48b20ddc9f57ef63216ef2936cd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#a6cb2b48b20ddc9f57ef63216ef2936cd">keyBomb</a> = GAMEPAD_BUTTON_RIGHT_FACE_DOWN</td></tr>
<tr class="memdesc:a6cb2b48b20ddc9f57ef63216ef2936cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">bomb key <a href="classBBM_1_1GamepadComponent.html#a6cb2b48b20ddc9f57ef63216ef2936cd">More...</a><br /></td></tr>
<tr class="separator:a6cb2b48b20ddc9f57ef63216ef2936cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c8f692aada7d6977d85b26ea34e8c17"><td class="memItemLeft" align="right" valign="top"><a class="el" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#a4c8f692aada7d6977d85b26ea34e8c17">keyPause</a> = GAMEPAD_BUTTON_MIDDLE</td></tr>
<tr class="memdesc:a4c8f692aada7d6977d85b26ea34e8c17"><td class="mdescLeft">&#160;</td><td class="mdescRight">pause key <a href="classBBM_1_1GamepadComponent.html#a4c8f692aada7d6977d85b26ea34e8c17">More...</a><br /></td></tr>
<tr class="separator:a4c8f692aada7d6977d85b26ea34e8c17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b76e2625bb6507ebcc77c63a6371c1a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#a1b76e2625bb6507ebcc77c63a6371c1a">keyRight</a> = GAMEPAD_BUTTON_LEFT_FACE_RIGHT</td></tr>
<tr class="memdesc:a1b76e2625bb6507ebcc77c63a6371c1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">move right key <a href="classBBM_1_1GamepadComponent.html#a1b76e2625bb6507ebcc77c63a6371c1a">More...</a><br /></td></tr>
<tr class="separator:a1b76e2625bb6507ebcc77c63a6371c1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a906bc6ed4566a9739d44623e21b0c92c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#a906bc6ed4566a9739d44623e21b0c92c">keyLeft</a> = GAMEPAD_BUTTON_LEFT_FACE_LEFT</td></tr>
<tr class="memdesc:a906bc6ed4566a9739d44623e21b0c92c"><td class="mdescLeft">&#160;</td><td class="mdescRight">move left key <a href="classBBM_1_1GamepadComponent.html#a906bc6ed4566a9739d44623e21b0c92c">More...</a><br /></td></tr>
<tr class="separator:a906bc6ed4566a9739d44623e21b0c92c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9523e5a2b4a6ed71bf9897521b81a63"><td class="memItemLeft" align="right" valign="top"><a class="el" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#ae9523e5a2b4a6ed71bf9897521b81a63">keyUp</a> = GAMEPAD_BUTTON_LEFT_FACE_UP</td></tr>
<tr class="memdesc:ae9523e5a2b4a6ed71bf9897521b81a63"><td class="mdescLeft">&#160;</td><td class="mdescRight">move up key <a href="classBBM_1_1GamepadComponent.html#ae9523e5a2b4a6ed71bf9897521b81a63">More...</a><br /></td></tr>
<tr class="separator:ae9523e5a2b4a6ed71bf9897521b81a63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96468d04fc32bf7d0620afe7fb1054db"><td class="memItemLeft" align="right" valign="top"><a class="el" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#a96468d04fc32bf7d0620afe7fb1054db">keyDown</a> = GAMEPAD_BUTTON_LEFT_FACE_DOWN</td></tr>
<tr class="memdesc:a96468d04fc32bf7d0620afe7fb1054db"><td class="mdescLeft">&#160;</td><td class="mdescRight">move down key <a href="classBBM_1_1GamepadComponent.html#a96468d04fc32bf7d0620afe7fb1054db">More...</a><br /></td></tr>
<tr class="separator:a96468d04fc32bf7d0620afe7fb1054db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4a1a2fe0ba826cd2fd11e865ff4619b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="GamepadComponent_8hpp.html#af04ae4488c7e08b4bc9cb15a6ffb682a">Axis</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#aa4a1a2fe0ba826cd2fd11e865ff4619b">LeftStickX</a> = GAMEPAD_AXIS_LEFT_X</td></tr>
<tr class="separator:aa4a1a2fe0ba826cd2fd11e865ff4619b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6beb1530e0e2e404ea7d53e6bcc229ee"><td class="memItemLeft" align="right" valign="top"><a class="el" href="GamepadComponent_8hpp.html#af04ae4488c7e08b4bc9cb15a6ffb682a">Axis</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#a6beb1530e0e2e404ea7d53e6bcc229ee">LeftStickY</a> = GAMEPAD_AXIS_LEFT_Y</td></tr>
<tr class="separator:a6beb1530e0e2e404ea7d53e6bcc229ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84fff8e54ee8293fb0dee8c1103f6abb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="GamepadComponent_8hpp.html#af04ae4488c7e08b4bc9cb15a6ffb682a">Axis</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#a84fff8e54ee8293fb0dee8c1103f6abb">RightStickX</a> = GAMEPAD_AXIS_RIGHT_X</td></tr>
<tr class="separator:a84fff8e54ee8293fb0dee8c1103f6abb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91d99f416e47d4ad86c2277446eaa1e2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="GamepadComponent_8hpp.html#af04ae4488c7e08b4bc9cb15a6ffb682a">Axis</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#a91d99f416e47d4ad86c2277446eaa1e2">RightStickY</a> = GAMEPAD_AXIS_RIGHT_Y</td></tr>
<tr class="separator:a91d99f416e47d4ad86c2277446eaa1e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a38d2ff7195da78dfcbd28ad0d704cf07"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1GamepadComponent.html#a38d2ff7195da78dfcbd28ad0d704cf07">_ID</a></td></tr>
<tr class="memdesc:a38d2ff7195da78dfcbd28ad0d704cf07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Identifier of the gamepad, used to fetch events. <a href="classBBM_1_1GamepadComponent.html#a38d2ff7195da78dfcbd28ad0d704cf07">More...</a><br /></td></tr>
<tr class="separator:a38d2ff7195da78dfcbd28ad0d704cf07"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;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">&#160;</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> &amp;entity)</td></tr>
<tr class="memdesc:ad27cb4b0bdc95b6245f6b5a8c56cc78a inherit pro_methods_classWAL_1_1Component"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:a3a3306df3733bfa77c70d789b650984b inherit pro_methods_classWAL_1_1Component"><td class="memItemLeft" align="right" valign="top">&#160;</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> &amp;)=default</td></tr>
<tr class="memdesc:a3a3306df3733bfa77c70d789b650984b inherit pro_methods_classWAL_1_1Component"><td class="mdescLeft">&#160;</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">&#160;</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="-"/>&#160;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> &amp;&#160;</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">&#160;</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">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aab77bf2146805d861cdb54034289a74e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab77bf2146805d861cdb54034289a74e">&#9670;&nbsp;</a></span>GamepadComponent() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">BBM::GamepadComponent::GamepadComponent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;&#160;</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>Create a new gampad component using default keys. </p>
</div>
</div>
<a id="ab3436173d94b2863b10952d20c2ae9b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3436173d94b2863b10952d20c2ae9b1">&#9670;&nbsp;</a></span>GamepadComponent() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">BBM::GamepadComponent::GamepadComponent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;&#160;</td>
<td class="paramname"><em>entity</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>id</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a new <a class="el" href="classBBM_1_1PositionComponent.html" title="A basic position component.">PositionComponent</a> at a certain position. </p>
</div>
</div>
<a id="af86164a320957c87112e4b56bcb95f7d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af86164a320957c87112e4b56bcb95f7d">&#9670;&nbsp;</a></span>GamepadComponent() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">BBM::GamepadComponent::GamepadComponent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classBBM_1_1GamepadComponent.html">GamepadComponent</a> &amp;&#160;</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 Gamepad component is copy constructable. </p>
</div>
</div>
<a id="aa343e7d46cb52673055e0345e477a154"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa343e7d46cb52673055e0345e477a154">&#9670;&nbsp;</a></span>~GamepadComponent()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">BBM::GamepadComponent::~GamepadComponent </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="a9236f1517e38c0941e87b174831e4600"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9236f1517e38c0941e87b174831e4600">&#9670;&nbsp;</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::GamepadComponent::clone </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;&#160;</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="a300f876b1d57ebef4e2512a152d2dd12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a300f876b1d57ebef4e2512a152d2dd12">&#9670;&nbsp;</a></span>getID()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int BBM::GamepadComponent::getID </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the ID of the Gamepad the events must be fetch from;. </p>
</div>
</div>
<a id="a552c5d4b1601c8892817321434fa99cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a552c5d4b1601c8892817321434fa99cd">&#9670;&nbsp;</a></span>onStart()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BBM::GamepadComponent::onStart </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">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The entity or this component has just been enabled. </p>
<p>Reimplemented from <a class="el" href="classWAL_1_1Component.html#a4acae0960f4232caf8395b2465dde8cc">WAL::Component</a>.</p>
</div>
</div>
<a id="a9126519fa90c96dafb63622379b1d09f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9126519fa90c96dafb63622379b1d09f">&#9670;&nbsp;</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_1GamepadComponent.html">GamepadComponent</a>&amp; BBM::GamepadComponent::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classBBM_1_1GamepadComponent.html">GamepadComponent</a> &amp;&#160;</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 Gamepad component can't be assigned. </p>
</div>
</div>
<a id="a0449760f81aecb7f5f9324d2ac7ca1ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0449760f81aecb7f5f9324d2ac7ca1ab">&#9670;&nbsp;</a></span>setID()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classBBM_1_1GamepadComponent.html">GamepadComponent</a> &amp; BBM::GamepadComponent::setID </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>ID</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the ID of the Gamepad the events must be fetch from;. </p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a38d2ff7195da78dfcbd28ad0d704cf07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38d2ff7195da78dfcbd28ad0d704cf07">&#9670;&nbsp;</a></span>_ID</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int BBM::GamepadComponent::_ID</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Identifier of the gamepad, used to fetch events. </p>
</div>
</div>
<a id="a6cb2b48b20ddc9f57ef63216ef2936cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6cb2b48b20ddc9f57ef63216ef2936cd">&#9670;&nbsp;</a></span>keyBomb</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a> BBM::GamepadComponent::keyBomb = GAMEPAD_BUTTON_RIGHT_FACE_DOWN</td>
</tr>
</table>
</div><div class="memdoc">
<p>bomb key </p>
</div>
</div>
<a id="a96468d04fc32bf7d0620afe7fb1054db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96468d04fc32bf7d0620afe7fb1054db">&#9670;&nbsp;</a></span>keyDown</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a> BBM::GamepadComponent::keyDown = GAMEPAD_BUTTON_LEFT_FACE_DOWN</td>
</tr>
</table>
</div><div class="memdoc">
<p>move down key </p>
</div>
</div>
<a id="a906bc6ed4566a9739d44623e21b0c92c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a906bc6ed4566a9739d44623e21b0c92c">&#9670;&nbsp;</a></span>keyLeft</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a> BBM::GamepadComponent::keyLeft = GAMEPAD_BUTTON_LEFT_FACE_LEFT</td>
</tr>
</table>
</div><div class="memdoc">
<p>move left key </p>
</div>
</div>
<a id="a4c8f692aada7d6977d85b26ea34e8c17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c8f692aada7d6977d85b26ea34e8c17">&#9670;&nbsp;</a></span>keyPause</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a> BBM::GamepadComponent::keyPause = GAMEPAD_BUTTON_MIDDLE</td>
</tr>
</table>
</div><div class="memdoc">
<p>pause key </p>
</div>
</div>
<a id="a1b76e2625bb6507ebcc77c63a6371c1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b76e2625bb6507ebcc77c63a6371c1a">&#9670;&nbsp;</a></span>keyRight</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a> BBM::GamepadComponent::keyRight = GAMEPAD_BUTTON_LEFT_FACE_RIGHT</td>
</tr>
</table>
</div><div class="memdoc">
<p>move right key </p>
</div>
</div>
<a id="a0a9bb666a256aa02a4936299e252e8d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a9bb666a256aa02a4936299e252e8d8">&#9670;&nbsp;</a></span>keySecondary</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a> BBM::GamepadComponent::keySecondary = GAMEPAD_BUTTON_RIGHT_FACE_RIGHT</td>
</tr>
</table>
</div><div class="memdoc">
<p>jump key </p>
</div>
</div>
<a id="ae9523e5a2b4a6ed71bf9897521b81a63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae9523e5a2b4a6ed71bf9897521b81a63">&#9670;&nbsp;</a></span>keyUp</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="GamepadComponent_8hpp.html#a3b27142d34f419ba0a21a2eea23f6e3c">Button</a> BBM::GamepadComponent::keyUp = GAMEPAD_BUTTON_LEFT_FACE_UP</td>
</tr>
</table>
</div><div class="memdoc">
<p>move up key </p>
</div>
</div>
<a id="aa4a1a2fe0ba826cd2fd11e865ff4619b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4a1a2fe0ba826cd2fd11e865ff4619b">&#9670;&nbsp;</a></span>LeftStickX</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="GamepadComponent_8hpp.html#af04ae4488c7e08b4bc9cb15a6ffb682a">Axis</a> BBM::GamepadComponent::LeftStickX = GAMEPAD_AXIS_LEFT_X</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a6beb1530e0e2e404ea7d53e6bcc229ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6beb1530e0e2e404ea7d53e6bcc229ee">&#9670;&nbsp;</a></span>LeftStickY</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="GamepadComponent_8hpp.html#af04ae4488c7e08b4bc9cb15a6ffb682a">Axis</a> BBM::GamepadComponent::LeftStickY = GAMEPAD_AXIS_LEFT_Y</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a84fff8e54ee8293fb0dee8c1103f6abb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84fff8e54ee8293fb0dee8c1103f6abb">&#9670;&nbsp;</a></span>RightStickX</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="GamepadComponent_8hpp.html#af04ae4488c7e08b4bc9cb15a6ffb682a">Axis</a> BBM::GamepadComponent::RightStickX = GAMEPAD_AXIS_RIGHT_X</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a91d99f416e47d4ad86c2277446eaa1e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91d99f416e47d4ad86c2277446eaa1e2">&#9670;&nbsp;</a></span>RightStickY</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="GamepadComponent_8hpp.html#af04ae4488c7e08b4bc9cb15a6ffb682a">Axis</a> BBM::GamepadComponent::RightStickY = GAMEPAD_AXIS_RIGHT_Y</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>sources/Component/Gamepad/<a class="el" href="GamepadComponent_8hpp_source.html">GamepadComponent.hpp</a></li>
<li>sources/Component/Gamepad/<a class="el" href="GamepadComponent_8cpp.html">GamepadComponent.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- 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>