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

457 lines
29 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::LobbyComponent 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_1LobbyComponent.html">LobbyComponent</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_1LobbyComponent-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">BBM::LobbyComponent Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="LobbyComponent_8hpp_source.html">LobbyComponent.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for BBM::LobbyComponent:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classBBM_1_1LobbyComponent__inherit__graph.svg" width="186" height="448"><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::LobbyComponent:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classBBM_1_1LobbyComponent__coll__graph.svg" width="336" height="1228"><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:a5f2bdd2ceadd856a92222390af7909dd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWAL_1_1Component.html#ad27cb4b0bdc95b6245f6b5a8c56cc78a">Component</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1LobbyComponent.html#a5f2bdd2ceadd856a92222390af7909dd">clone</a> (<a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;entity) const override</td></tr>
<tr class="memdesc:a5f2bdd2ceadd856a92222390af7909dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clone a component for another or the same entity. <a href="classBBM_1_1LobbyComponent.html#a5f2bdd2ceadd856a92222390af7909dd">More...</a><br /></td></tr>
<tr class="separator:a5f2bdd2ceadd856a92222390af7909dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa0a964565bc77c74c6ff117e80a085d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1LobbyComponent.html#afa0a964565bc77c74c6ff117e80a085d">LobbyComponent</a> (<a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;entity, int playerNumber, <a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;button, <a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;tile)</td></tr>
<tr class="memdesc:afa0a964565bc77c74c6ff117e80a085d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new lobby component. <a href="classBBM_1_1LobbyComponent.html#afa0a964565bc77c74c6ff117e80a085d">More...</a><br /></td></tr>
<tr class="separator:afa0a964565bc77c74c6ff117e80a085d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a397a7c67bcaec8a4876f221d12676eab"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1LobbyComponent.html#a397a7c67bcaec8a4876f221d12676eab">LobbyComponent</a> (const <a class="el" href="classBBM_1_1LobbyComponent.html">LobbyComponent</a> &amp;)=default</td></tr>
<tr class="memdesc:a397a7c67bcaec8a4876f221d12676eab"><td class="mdescLeft">&#160;</td><td class="mdescRight">A lobby component is copyable. <a href="classBBM_1_1LobbyComponent.html#a397a7c67bcaec8a4876f221d12676eab">More...</a><br /></td></tr>
<tr class="separator:a397a7c67bcaec8a4876f221d12676eab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f1984d195117bbc1a5b64f85c73049f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1LobbyComponent.html#a2f1984d195117bbc1a5b64f85c73049f">~LobbyComponent</a> () override=default</td></tr>
<tr class="memdesc:a2f1984d195117bbc1a5b64f85c73049f"><td class="mdescLeft">&#160;</td><td class="mdescRight">A default destructor. <a href="classBBM_1_1LobbyComponent.html#a2f1984d195117bbc1a5b64f85c73049f">More...</a><br /></td></tr>
<tr class="separator:a2f1984d195117bbc1a5b64f85c73049f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adeda82edd38b76befc9c94de363ab3a8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classBBM_1_1LobbyComponent.html">LobbyComponent</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1LobbyComponent.html#adeda82edd38b76befc9c94de363ab3a8">operator=</a> (const <a class="el" href="classBBM_1_1LobbyComponent.html">LobbyComponent</a> &amp;)=delete</td></tr>
<tr class="memdesc:adeda82edd38b76befc9c94de363ab3a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">A lobby component is not assignable. <a href="classBBM_1_1LobbyComponent.html#adeda82edd38b76befc9c94de363ab3a8">More...</a><br /></td></tr>
<tr class="separator:adeda82edd38b76befc9c94de363ab3a8"><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:a4acae0960f4232caf8395b2465dde8cc 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#a4acae0960f4232caf8395b2465dde8cc">onStart</a> ()</td></tr>
<tr class="memdesc:a4acae0960f4232caf8395b2465dde8cc inherit pub_methods_classWAL_1_1Component"><td class="mdescLeft">&#160;</td><td class="mdescRight">The entity or this component has just been enabled. <a href="classWAL_1_1Component.html#a4acae0960f4232caf8395b2465dde8cc">More...</a><br /></td></tr>
<tr class="separator:a4acae0960f4232caf8395b2465dde8cc 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:a17f0bce1b453a2823928126f86fe26f8"><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_1LobbyComponent.html#a17f0bce1b453a2823928126f86fe26f8">layout</a> = <a class="el" href="classBBM_1_1ControllableComponent.html#a050e4c8ed1f2ad177ee73b92ea7662e0a72e98a6e6a29ffb8f0bff508c9bbb2f5">ControllableComponent::NONE</a></td></tr>
<tr class="memdesc:a17f0bce1b453a2823928126f86fe26f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">The layout used for this player. <a href="classBBM_1_1LobbyComponent.html#a17f0bce1b453a2823928126f86fe26f8">More...</a><br /></td></tr>
<tr class="separator:a17f0bce1b453a2823928126f86fe26f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf13d11f5583ef5777d7e1d8096e6535"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1LobbyComponent.html#abf13d11f5583ef5777d7e1d8096e6535">playerID</a></td></tr>
<tr class="memdesc:abf13d11f5583ef5777d7e1d8096e6535"><td class="mdescLeft">&#160;</td><td class="mdescRight">The ID of the lobby player (from 0 to 3) <a href="classBBM_1_1LobbyComponent.html#abf13d11f5583ef5777d7e1d8096e6535">More...</a><br /></td></tr>
<tr class="separator:abf13d11f5583ef5777d7e1d8096e6535"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d10d26dd2de38c286b761604855d6b9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1LobbyComponent.html#a4d10d26dd2de38c286b761604855d6b9">color</a></td></tr>
<tr class="memdesc:a4d10d26dd2de38c286b761604855d6b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">The color of the player (as an index) <a href="classBBM_1_1LobbyComponent.html#a4d10d26dd2de38c286b761604855d6b9">More...</a><br /></td></tr>
<tr class="separator:a4d10d26dd2de38c286b761604855d6b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b7b24a3373d0f5375c5f8be24d453ba"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1LobbyComponent.html#a7b7b24a3373d0f5375c5f8be24d453ba">ready</a> = false</td></tr>
<tr class="memdesc:a7b7b24a3373d0f5375c5f8be24d453ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is this player ready. <a href="classBBM_1_1LobbyComponent.html#a7b7b24a3373d0f5375c5f8be24d453ba">More...</a><br /></td></tr>
<tr class="separator:a7b7b24a3373d0f5375c5f8be24d453ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1afb665c96905a6e440db3b8f5c10920"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1LobbyComponent.html#a1afb665c96905a6e440db3b8f5c10920">readyButton</a></td></tr>
<tr class="memdesc:a1afb665c96905a6e440db3b8f5c10920"><td class="mdescLeft">&#160;</td><td class="mdescRight">The entity containing the ready display. <a href="classBBM_1_1LobbyComponent.html#a1afb665c96905a6e440db3b8f5c10920">More...</a><br /></td></tr>
<tr class="separator:a1afb665c96905a6e440db3b8f5c10920"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44cbeb4ff46fd5feabdf8587b7cd739e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1LobbyComponent.html#a44cbeb4ff46fd5feabdf8587b7cd739e">coloredTile</a></td></tr>
<tr class="memdesc:a44cbeb4ff46fd5feabdf8587b7cd739e"><td class="mdescLeft">&#160;</td><td class="mdescRight">The colored rectangle behind the player. <a href="classBBM_1_1LobbyComponent.html#a44cbeb4ff46fd5feabdf8587b7cd739e">More...</a><br /></td></tr>
<tr class="separator:a44cbeb4ff46fd5feabdf8587b7cd739e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae29a8fb4d64a70540d56f850cb2452e3"><td class="memItemLeft" align="right" valign="top">std::chrono::time_point&lt; std::chrono::steady_clock &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1LobbyComponent.html#ae29a8fb4d64a70540d56f850cb2452e3">lastInput</a></td></tr>
<tr class="memdesc:ae29a8fb4d64a70540d56f850cb2452e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">The time of last input that this lobby player has made. <a href="classBBM_1_1LobbyComponent.html#ae29a8fb4d64a70540d56f850cb2452e3">More...</a><br /></td></tr>
<tr class="separator:ae29a8fb4d64a70540d56f850cb2452e3"><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="afa0a964565bc77c74c6ff117e80a085d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa0a964565bc77c74c6ff117e80a085d">&#9670;&nbsp;</a></span>LobbyComponent() <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::LobbyComponent::LobbyComponent </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>playerNumber</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;&#160;</td>
<td class="paramname"><em>button</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;&#160;</td>
<td class="paramname"><em>tile</em>&#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 lobby component. </p>
</div>
</div>
<a id="a397a7c67bcaec8a4876f221d12676eab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a397a7c67bcaec8a4876f221d12676eab">&#9670;&nbsp;</a></span>LobbyComponent() <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::LobbyComponent::LobbyComponent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classBBM_1_1LobbyComponent.html">LobbyComponent</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 lobby component is copyable. </p>
</div>
</div>
<a id="a2f1984d195117bbc1a5b64f85c73049f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f1984d195117bbc1a5b64f85c73049f">&#9670;&nbsp;</a></span>~LobbyComponent()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">BBM::LobbyComponent::~LobbyComponent </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>A default destructor. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a5f2bdd2ceadd856a92222390af7909dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f2bdd2ceadd856a92222390af7909dd">&#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::LobbyComponent::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="adeda82edd38b76befc9c94de363ab3a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adeda82edd38b76befc9c94de363ab3a8">&#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_1LobbyComponent.html">LobbyComponent</a>&amp; BBM::LobbyComponent::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classBBM_1_1LobbyComponent.html">LobbyComponent</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 lobby component is not assignable. </p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a4d10d26dd2de38c286b761604855d6b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d10d26dd2de38c286b761604855d6b9">&#9670;&nbsp;</a></span>color</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int BBM::LobbyComponent::color</td>
</tr>
</table>
</div><div class="memdoc">
<p>The color of the player (as an index) </p>
</div>
</div>
<a id="a44cbeb4ff46fd5feabdf8587b7cd739e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44cbeb4ff46fd5feabdf8587b7cd739e">&#9670;&nbsp;</a></span>coloredTile</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a>&amp; BBM::LobbyComponent::coloredTile</td>
</tr>
</table>
</div><div class="memdoc">
<p>The colored rectangle behind the player. </p>
</div>
</div>
<a id="ae29a8fb4d64a70540d56f850cb2452e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae29a8fb4d64a70540d56f850cb2452e3">&#9670;&nbsp;</a></span>lastInput</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::chrono::time_point&lt;std::chrono::steady_clock&gt; BBM::LobbyComponent::lastInput</td>
</tr>
</table>
</div><div class="memdoc">
<p>The time of last input that this lobby player has made. </p>
</div>
</div>
<a id="a17f0bce1b453a2823928126f86fe26f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17f0bce1b453a2823928126f86fe26f8">&#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::LobbyComponent::layout = <a class="el" href="classBBM_1_1ControllableComponent.html#a050e4c8ed1f2ad177ee73b92ea7662e0a72e98a6e6a29ffb8f0bff508c9bbb2f5">ControllableComponent::NONE</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>The layout used for this player. </p>
</div>
</div>
<a id="abf13d11f5583ef5777d7e1d8096e6535"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf13d11f5583ef5777d7e1d8096e6535">&#9670;&nbsp;</a></span>playerID</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int BBM::LobbyComponent::playerID</td>
</tr>
</table>
</div><div class="memdoc">
<p>The ID of the lobby player (from 0 to 3) </p>
</div>
</div>
<a id="a7b7b24a3373d0f5375c5f8be24d453ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b7b24a3373d0f5375c5f8be24d453ba">&#9670;&nbsp;</a></span>ready</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool BBM::LobbyComponent::ready = false</td>
</tr>
</table>
</div><div class="memdoc">
<p>Is this player ready. </p>
</div>
</div>
<a id="a1afb665c96905a6e440db3b8f5c10920"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1afb665c96905a6e440db3b8f5c10920">&#9670;&nbsp;</a></span>readyButton</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a>&amp; BBM::LobbyComponent::readyButton</td>
</tr>
</table>
</div><div class="memdoc">
<p>The entity containing the ready display. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>sources/Component/Lobby/<a class="el" href="LobbyComponent_8hpp_source.html">LobbyComponent.hpp</a></li>
<li>sources/Component/Lobby/<a class="el" href="LobbyComponent_8cpp.html">LobbyComponent.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>