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

493 lines
31 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::KeyboardComponent 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_1KeyboardComponent.html">KeyboardComponent</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="classBBM_1_1KeyboardComponent-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">BBM::KeyboardComponent Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="KeyboardComponent_8hpp_source.html">KeyboardComponent.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for BBM::KeyboardComponent:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classBBM_1_1KeyboardComponent__inherit__graph.svg" width="207" height="478"><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::KeyboardComponent:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classBBM_1_1KeyboardComponent__coll__graph.svg" width="207" height="1287"><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:a981130e4ff1e3e3c732447a498482233"><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_1KeyboardComponent.html#a981130e4ff1e3e3c732447a498482233">clone</a> (<a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;entity) const override</td></tr>
<tr class="memdesc:a981130e4ff1e3e3c732447a498482233"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clone a component for another or the same entity. <a href="classBBM_1_1KeyboardComponent.html#a981130e4ff1e3e3c732447a498482233">More...</a><br /></td></tr>
<tr class="separator:a981130e4ff1e3e3c732447a498482233"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f308a1f89b4d2141400f313b64b231d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1KeyboardComponent.html#a7f308a1f89b4d2141400f313b64b231d">onStart</a> () override</td></tr>
<tr class="memdesc:a7f308a1f89b4d2141400f313b64b231d"><td class="mdescLeft">&#160;</td><td class="mdescRight">The entity or this component has just been enabled. <a href="classBBM_1_1KeyboardComponent.html#a7f308a1f89b4d2141400f313b64b231d">More...</a><br /></td></tr>
<tr class="separator:a7f308a1f89b4d2141400f313b64b231d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0bc71c538c0e308797fff3071c0d2f6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1KeyboardComponent.html#ae0bc71c538c0e308797fff3071c0d2f6">KeyboardComponent</a> (<a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;entity, <a class="el" href="classBBM_1_1ControllableComponent.html#a050e4c8ed1f2ad177ee73b92ea7662e0">ControllableComponent::Layout</a> controllerLayout=ControllableComponent::Layout::KEYBOARD_0)</td></tr>
<tr class="memdesc:ae0bc71c538c0e308797fff3071c0d2f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new keyboard component using custom keys. <a href="classBBM_1_1KeyboardComponent.html#ae0bc71c538c0e308797fff3071c0d2f6">More...</a><br /></td></tr>
<tr class="separator:ae0bc71c538c0e308797fff3071c0d2f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a88eb74a82191eecdefb7c89ba1e270"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1KeyboardComponent.html#a0a88eb74a82191eecdefb7c89ba1e270">KeyboardComponent</a> (const <a class="el" href="classBBM_1_1KeyboardComponent.html">KeyboardComponent</a> &amp;)=default</td></tr>
<tr class="memdesc:a0a88eb74a82191eecdefb7c89ba1e270"><td class="mdescLeft">&#160;</td><td class="mdescRight">A Keyboard component is copy constructable. <a href="classBBM_1_1KeyboardComponent.html#a0a88eb74a82191eecdefb7c89ba1e270">More...</a><br /></td></tr>
<tr class="separator:a0a88eb74a82191eecdefb7c89ba1e270"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9aa142689b2d499cbe16d065574c0517"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1KeyboardComponent.html#a9aa142689b2d499cbe16d065574c0517">~KeyboardComponent</a> () override=default</td></tr>
<tr class="memdesc:a9aa142689b2d499cbe16d065574c0517"><td class="mdescLeft">&#160;</td><td class="mdescRight">default destructor <a href="classBBM_1_1KeyboardComponent.html#a9aa142689b2d499cbe16d065574c0517">More...</a><br /></td></tr>
<tr class="separator:a9aa142689b2d499cbe16d065574c0517"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40c79d55886f61bfc2dcccd6c3e8e63e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classBBM_1_1KeyboardComponent.html">KeyboardComponent</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1KeyboardComponent.html#a40c79d55886f61bfc2dcccd6c3e8e63e">operator=</a> (const <a class="el" href="classBBM_1_1KeyboardComponent.html">KeyboardComponent</a> &amp;)=delete</td></tr>
<tr class="memdesc:a40c79d55886f61bfc2dcccd6c3e8e63e"><td class="mdescLeft">&#160;</td><td class="mdescRight">A Keyboard component can't be assigned. <a href="classBBM_1_1KeyboardComponent.html#a40c79d55886f61bfc2dcccd6c3e8e63e">More...</a><br /></td></tr>
<tr class="separator:a40c79d55886f61bfc2dcccd6c3e8e63e"><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:a10fdd5ddda2a3b2f7451ccc497a535e7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="KeyboardComponent_8hpp.html#af73ff1c01950d4e675b41d17f818e4d0">Key</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1KeyboardComponent.html#a10fdd5ddda2a3b2f7451ccc497a535e7">keySecondary</a> = KEY_SPACE</td></tr>
<tr class="memdesc:a10fdd5ddda2a3b2f7451ccc497a535e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">jump key <a href="classBBM_1_1KeyboardComponent.html#a10fdd5ddda2a3b2f7451ccc497a535e7">More...</a><br /></td></tr>
<tr class="separator:a10fdd5ddda2a3b2f7451ccc497a535e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a008e0783cb59a6722f454f91b4089f62"><td class="memItemLeft" align="right" valign="top"><a class="el" href="KeyboardComponent_8hpp.html#af73ff1c01950d4e675b41d17f818e4d0">Key</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1KeyboardComponent.html#a008e0783cb59a6722f454f91b4089f62">keyBomb</a> = KEY_E</td></tr>
<tr class="memdesc:a008e0783cb59a6722f454f91b4089f62"><td class="mdescLeft">&#160;</td><td class="mdescRight">bomb key <a href="classBBM_1_1KeyboardComponent.html#a008e0783cb59a6722f454f91b4089f62">More...</a><br /></td></tr>
<tr class="separator:a008e0783cb59a6722f454f91b4089f62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab85e1d70537cf87d990e5f3ea2abefaa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="KeyboardComponent_8hpp.html#af73ff1c01950d4e675b41d17f818e4d0">Key</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1KeyboardComponent.html#ab85e1d70537cf87d990e5f3ea2abefaa">keyPause</a> = KEY_ESCAPE</td></tr>
<tr class="memdesc:ab85e1d70537cf87d990e5f3ea2abefaa"><td class="mdescLeft">&#160;</td><td class="mdescRight">pause key <a href="classBBM_1_1KeyboardComponent.html#ab85e1d70537cf87d990e5f3ea2abefaa">More...</a><br /></td></tr>
<tr class="separator:ab85e1d70537cf87d990e5f3ea2abefaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff0b9dbd71fc62c033460291dfe9f774"><td class="memItemLeft" align="right" valign="top"><a class="el" href="KeyboardComponent_8hpp.html#af73ff1c01950d4e675b41d17f818e4d0">Key</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1KeyboardComponent.html#aff0b9dbd71fc62c033460291dfe9f774">keyRight</a> = KEY_D</td></tr>
<tr class="memdesc:aff0b9dbd71fc62c033460291dfe9f774"><td class="mdescLeft">&#160;</td><td class="mdescRight">move right key <a href="classBBM_1_1KeyboardComponent.html#aff0b9dbd71fc62c033460291dfe9f774">More...</a><br /></td></tr>
<tr class="separator:aff0b9dbd71fc62c033460291dfe9f774"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd755995cc528ec86cdb7d398ef10f63"><td class="memItemLeft" align="right" valign="top"><a class="el" href="KeyboardComponent_8hpp.html#af73ff1c01950d4e675b41d17f818e4d0">Key</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1KeyboardComponent.html#abd755995cc528ec86cdb7d398ef10f63">keyLeft</a> = KEY_A</td></tr>
<tr class="memdesc:abd755995cc528ec86cdb7d398ef10f63"><td class="mdescLeft">&#160;</td><td class="mdescRight">move left key <a href="classBBM_1_1KeyboardComponent.html#abd755995cc528ec86cdb7d398ef10f63">More...</a><br /></td></tr>
<tr class="separator:abd755995cc528ec86cdb7d398ef10f63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a448be1878f87dbb5de75ea43463a2e70"><td class="memItemLeft" align="right" valign="top"><a class="el" href="KeyboardComponent_8hpp.html#af73ff1c01950d4e675b41d17f818e4d0">Key</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1KeyboardComponent.html#a448be1878f87dbb5de75ea43463a2e70">keyUp</a> = KEY_W</td></tr>
<tr class="memdesc:a448be1878f87dbb5de75ea43463a2e70"><td class="mdescLeft">&#160;</td><td class="mdescRight">move up key <a href="classBBM_1_1KeyboardComponent.html#a448be1878f87dbb5de75ea43463a2e70">More...</a><br /></td></tr>
<tr class="separator:a448be1878f87dbb5de75ea43463a2e70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac73742bf94717cae745217e603a22829"><td class="memItemLeft" align="right" valign="top"><a class="el" href="KeyboardComponent_8hpp.html#af73ff1c01950d4e675b41d17f818e4d0">Key</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1KeyboardComponent.html#ac73742bf94717cae745217e603a22829">keyDown</a> = KEY_S</td></tr>
<tr class="memdesc:ac73742bf94717cae745217e603a22829"><td class="mdescLeft">&#160;</td><td class="mdescRight">move down key <a href="classBBM_1_1KeyboardComponent.html#ac73742bf94717cae745217e603a22829">More...</a><br /></td></tr>
<tr class="separator:ac73742bf94717cae745217e603a22829"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5eda704d4910d8a72664878e6b5e454e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classBBM_1_1ControllableComponent.html#a050e4c8ed1f2ad177ee73b92ea7662e0">ControllableComponent::Layout</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1KeyboardComponent.html#a5eda704d4910d8a72664878e6b5e454e">layout</a></td></tr>
<tr class="memdesc:a5eda704d4910d8a72664878e6b5e454e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Layout. <a href="classBBM_1_1KeyboardComponent.html#a5eda704d4910d8a72664878e6b5e454e">More...</a><br /></td></tr>
<tr class="separator:a5eda704d4910d8a72664878e6b5e454e"><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="ae0bc71c538c0e308797fff3071c0d2f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0bc71c538c0e308797fff3071c0d2f6">&#9670;&nbsp;</a></span>KeyboardComponent() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">BBM::KeyboardComponent::KeyboardComponent </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"><a class="el" href="classBBM_1_1ControllableComponent.html#a050e4c8ed1f2ad177ee73b92ea7662e0">ControllableComponent::Layout</a>&#160;</td>
<td class="paramname"><em>controllerLayout</em> = <code>ControllableComponent::Layout::KEYBOARD_0</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</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 keyboard component using custom keys. </p>
</div>
</div>
<a id="a0a88eb74a82191eecdefb7c89ba1e270"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a88eb74a82191eecdefb7c89ba1e270">&#9670;&nbsp;</a></span>KeyboardComponent() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">BBM::KeyboardComponent::KeyboardComponent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classBBM_1_1KeyboardComponent.html">KeyboardComponent</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 Keyboard component is copy constructable. </p>
</div>
</div>
<a id="a9aa142689b2d499cbe16d065574c0517"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9aa142689b2d499cbe16d065574c0517">&#9670;&nbsp;</a></span>~KeyboardComponent()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">BBM::KeyboardComponent::~KeyboardComponent </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="a981130e4ff1e3e3c732447a498482233"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a981130e4ff1e3e3c732447a498482233">&#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::KeyboardComponent::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="a7f308a1f89b4d2141400f313b64b231d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f308a1f89b4d2141400f313b64b231d">&#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::KeyboardComponent::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="a40c79d55886f61bfc2dcccd6c3e8e63e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40c79d55886f61bfc2dcccd6c3e8e63e">&#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_1KeyboardComponent.html">KeyboardComponent</a>&amp; BBM::KeyboardComponent::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classBBM_1_1KeyboardComponent.html">KeyboardComponent</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 Keyboard component can't be assigned. </p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a008e0783cb59a6722f454f91b4089f62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a008e0783cb59a6722f454f91b4089f62">&#9670;&nbsp;</a></span>keyBomb</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="KeyboardComponent_8hpp.html#af73ff1c01950d4e675b41d17f818e4d0">Key</a> BBM::KeyboardComponent::keyBomb = KEY_E</td>
</tr>
</table>
</div><div class="memdoc">
<p>bomb key </p>
</div>
</div>
<a id="ac73742bf94717cae745217e603a22829"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac73742bf94717cae745217e603a22829">&#9670;&nbsp;</a></span>keyDown</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="KeyboardComponent_8hpp.html#af73ff1c01950d4e675b41d17f818e4d0">Key</a> BBM::KeyboardComponent::keyDown = KEY_S</td>
</tr>
</table>
</div><div class="memdoc">
<p>move down key </p>
</div>
</div>
<a id="abd755995cc528ec86cdb7d398ef10f63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd755995cc528ec86cdb7d398ef10f63">&#9670;&nbsp;</a></span>keyLeft</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="KeyboardComponent_8hpp.html#af73ff1c01950d4e675b41d17f818e4d0">Key</a> BBM::KeyboardComponent::keyLeft = KEY_A</td>
</tr>
</table>
</div><div class="memdoc">
<p>move left key </p>
</div>
</div>
<a id="ab85e1d70537cf87d990e5f3ea2abefaa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab85e1d70537cf87d990e5f3ea2abefaa">&#9670;&nbsp;</a></span>keyPause</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="KeyboardComponent_8hpp.html#af73ff1c01950d4e675b41d17f818e4d0">Key</a> BBM::KeyboardComponent::keyPause = KEY_ESCAPE</td>
</tr>
</table>
</div><div class="memdoc">
<p>pause key </p>
</div>
</div>
<a id="aff0b9dbd71fc62c033460291dfe9f774"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff0b9dbd71fc62c033460291dfe9f774">&#9670;&nbsp;</a></span>keyRight</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="KeyboardComponent_8hpp.html#af73ff1c01950d4e675b41d17f818e4d0">Key</a> BBM::KeyboardComponent::keyRight = KEY_D</td>
</tr>
</table>
</div><div class="memdoc">
<p>move right key </p>
</div>
</div>
<a id="a10fdd5ddda2a3b2f7451ccc497a535e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10fdd5ddda2a3b2f7451ccc497a535e7">&#9670;&nbsp;</a></span>keySecondary</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="KeyboardComponent_8hpp.html#af73ff1c01950d4e675b41d17f818e4d0">Key</a> BBM::KeyboardComponent::keySecondary = KEY_SPACE</td>
</tr>
</table>
</div><div class="memdoc">
<p>jump key </p>
</div>
</div>
<a id="a448be1878f87dbb5de75ea43463a2e70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a448be1878f87dbb5de75ea43463a2e70">&#9670;&nbsp;</a></span>keyUp</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="KeyboardComponent_8hpp.html#af73ff1c01950d4e675b41d17f818e4d0">Key</a> BBM::KeyboardComponent::keyUp = KEY_W</td>
</tr>
</table>
</div><div class="memdoc">
<p>move up key </p>
</div>
</div>
<a id="a5eda704d4910d8a72664878e6b5e454e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5eda704d4910d8a72664878e6b5e454e">&#9670;&nbsp;</a></span>layout</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classBBM_1_1ControllableComponent.html#a050e4c8ed1f2ad177ee73b92ea7662e0">ControllableComponent::Layout</a> BBM::KeyboardComponent::layout</td>
</tr>
</table>
</div><div class="memdoc">
<p>Layout. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>sources/Component/Keyboard/<a class="el" href="KeyboardComponent_8hpp_source.html">KeyboardComponent.hpp</a></li>
<li>sources/Component/Keyboard/<a class="el" href="KeyboardComponent_8cpp.html">KeyboardComponent.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>