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

470 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::PositionComponent 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_1PositionComponent.html">PositionComponent</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_1PositionComponent-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">BBM::PositionComponent Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A basic position component.
<a href="classBBM_1_1PositionComponent.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="PositionComponent_8hpp_source.html">PositionComponent.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for BBM::PositionComponent:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classBBM_1_1PositionComponent__inherit__graph.svg" width="198" height="434"><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::PositionComponent:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classBBM_1_1PositionComponent__coll__graph.svg" width="362" height="1374"><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:a19b915f21d5f0e1da40153b4c4161075"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1PositionComponent.html#a19b915f21d5f0e1da40153b4c4161075">getX</a> () const</td></tr>
<tr class="memdesc:a19b915f21d5f0e1da40153b4c4161075"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the X position of this entity. <a href="classBBM_1_1PositionComponent.html#a19b915f21d5f0e1da40153b4c4161075">More...</a><br /></td></tr>
<tr class="separator:a19b915f21d5f0e1da40153b4c4161075"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa287e95c9378c119530be12ed40c27f"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1PositionComponent.html#aaa287e95c9378c119530be12ed40c27f">getY</a> () const</td></tr>
<tr class="memdesc:aaa287e95c9378c119530be12ed40c27f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Y position of this entity. <a href="classBBM_1_1PositionComponent.html#aaa287e95c9378c119530be12ed40c27f">More...</a><br /></td></tr>
<tr class="separator:aaa287e95c9378c119530be12ed40c27f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a8da5f34a8a48b850426587c9bdcd0e"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1PositionComponent.html#a2a8da5f34a8a48b850426587c9bdcd0e">getZ</a> () const</td></tr>
<tr class="memdesc:a2a8da5f34a8a48b850426587c9bdcd0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Z position of this entity. <a href="classBBM_1_1PositionComponent.html#a2a8da5f34a8a48b850426587c9bdcd0e">More...</a><br /></td></tr>
<tr class="separator:a2a8da5f34a8a48b850426587c9bdcd0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2cd452275fa92914a38e36f597b50d9"><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_1PositionComponent.html#ad2cd452275fa92914a38e36f597b50d9">clone</a> (<a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;entity) const override</td></tr>
<tr class="memdesc:ad2cd452275fa92914a38e36f597b50d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clone a component for another or the same entity. <a href="classBBM_1_1PositionComponent.html#ad2cd452275fa92914a38e36f597b50d9">More...</a><br /></td></tr>
<tr class="separator:ad2cd452275fa92914a38e36f597b50d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3491bda5cc5fcf816bc754ee3abd8d9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1PositionComponent.html#ab3491bda5cc5fcf816bc754ee3abd8d9">PositionComponent</a> (<a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;entity)</td></tr>
<tr class="memdesc:ab3491bda5cc5fcf816bc754ee3abd8d9"><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> linked to a specific entity. <a href="classBBM_1_1PositionComponent.html#ab3491bda5cc5fcf816bc754ee3abd8d9">More...</a><br /></td></tr>
<tr class="separator:ab3491bda5cc5fcf816bc754ee3abd8d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a1f7864fac0dccde2f9b2ac9850efdb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1PositionComponent.html#a2a1f7864fac0dccde2f9b2ac9850efdb">PositionComponent</a> (<a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;entity, <a class="el" href="namespaceBBM.html#ad0b7cbe1d35a6c8ac75e31df6e1357a5">Vector3f</a> pos)</td></tr>
<tr class="memdesc:a2a1f7864fac0dccde2f9b2ac9850efdb"><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_1PositionComponent.html#a2a1f7864fac0dccde2f9b2ac9850efdb">More...</a><br /></td></tr>
<tr class="separator:a2a1f7864fac0dccde2f9b2ac9850efdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2824f4ecddbb3a533564279d679be68"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1PositionComponent.html#ac2824f4ecddbb3a533564279d679be68">PositionComponent</a> (<a class="el" href="classWAL_1_1Entity.html">WAL::Entity</a> &amp;entity, float x, float y, float z)</td></tr>
<tr class="memdesc:ac2824f4ecddbb3a533564279d679be68"><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_1PositionComponent.html#ac2824f4ecddbb3a533564279d679be68">More...</a><br /></td></tr>
<tr class="separator:ac2824f4ecddbb3a533564279d679be68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c5c6e8f53014e5f6c178904655ae36f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1PositionComponent.html#a7c5c6e8f53014e5f6c178904655ae36f">PositionComponent</a> (const <a class="el" href="classBBM_1_1PositionComponent.html">PositionComponent</a> &amp;)=default</td></tr>
<tr class="memdesc:a7c5c6e8f53014e5f6c178904655ae36f"><td class="mdescLeft">&#160;</td><td class="mdescRight">A position component is copy constructable. <a href="classBBM_1_1PositionComponent.html#a7c5c6e8f53014e5f6c178904655ae36f">More...</a><br /></td></tr>
<tr class="separator:a7c5c6e8f53014e5f6c178904655ae36f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecb861e4c1e93affef6bd9eaff086fb7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1PositionComponent.html#aecb861e4c1e93affef6bd9eaff086fb7">~PositionComponent</a> () override=default</td></tr>
<tr class="memdesc:aecb861e4c1e93affef6bd9eaff086fb7"><td class="mdescLeft">&#160;</td><td class="mdescRight">A default destructor. <a href="classBBM_1_1PositionComponent.html#aecb861e4c1e93affef6bd9eaff086fb7">More...</a><br /></td></tr>
<tr class="separator:aecb861e4c1e93affef6bd9eaff086fb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ebf0cdf0f6cabc5c1fb65123a11fe85"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classBBM_1_1PositionComponent.html">PositionComponent</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1PositionComponent.html#a3ebf0cdf0f6cabc5c1fb65123a11fe85">operator=</a> (const <a class="el" href="classBBM_1_1PositionComponent.html">PositionComponent</a> &amp;)=delete</td></tr>
<tr class="memdesc:a3ebf0cdf0f6cabc5c1fb65123a11fe85"><td class="mdescLeft">&#160;</td><td class="mdescRight">A position component is not assignable. <a href="classBBM_1_1PositionComponent.html#a3ebf0cdf0f6cabc5c1fb65123a11fe85">More...</a><br /></td></tr>
<tr class="separator:a3ebf0cdf0f6cabc5c1fb65123a11fe85"><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:ad7d96ea0d42c2c7b2a640ca60dedc151"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceBBM.html#ad0b7cbe1d35a6c8ac75e31df6e1357a5">Vector3f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBBM_1_1PositionComponent.html#ad7d96ea0d42c2c7b2a640ca60dedc151">position</a></td></tr>
<tr class="memdesc:ad7d96ea0d42c2c7b2a640ca60dedc151"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the editable position of this entity. <a href="classBBM_1_1PositionComponent.html#ad7d96ea0d42c2c7b2a640ca60dedc151">More...</a><br /></td></tr>
<tr class="separator:ad7d96ea0d42c2c7b2a640ca60dedc151"><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>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A basic position component. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ab3491bda5cc5fcf816bc754ee3abd8d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3491bda5cc5fcf816bc754ee3abd8d9">&#9670;&nbsp;</a></span>PositionComponent() <span class="overload">[1/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">BBM::PositionComponent::PositionComponent </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 <a class="el" href="classBBM_1_1PositionComponent.html" title="A basic position component.">PositionComponent</a> linked to a specific entity. </p>
</div>
</div>
<a id="a2a1f7864fac0dccde2f9b2ac9850efdb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a1f7864fac0dccde2f9b2ac9850efdb">&#9670;&nbsp;</a></span>PositionComponent() <span class="overload">[2/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">BBM::PositionComponent::PositionComponent </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="namespaceBBM.html#ad0b7cbe1d35a6c8ac75e31df6e1357a5">Vector3f</a>&#160;</td>
<td class="paramname"><em>pos</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="ac2824f4ecddbb3a533564279d679be68"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2824f4ecddbb3a533564279d679be68">&#9670;&nbsp;</a></span>PositionComponent() <span class="overload">[3/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">BBM::PositionComponent::PositionComponent </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">float&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>z</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="a7c5c6e8f53014e5f6c178904655ae36f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c5c6e8f53014e5f6c178904655ae36f">&#9670;&nbsp;</a></span>PositionComponent() <span class="overload">[4/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">BBM::PositionComponent::PositionComponent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classBBM_1_1PositionComponent.html">PositionComponent</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 position component is copy constructable. </p>
</div>
</div>
<a id="aecb861e4c1e93affef6bd9eaff086fb7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecb861e4c1e93affef6bd9eaff086fb7">&#9670;&nbsp;</a></span>~PositionComponent()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">BBM::PositionComponent::~PositionComponent </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="ad2cd452275fa92914a38e36f597b50d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2cd452275fa92914a38e36f597b50d9">&#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::PositionComponent::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="a19b915f21d5f0e1da40153b4c4161075"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a19b915f21d5f0e1da40153b4c4161075">&#9670;&nbsp;</a></span>getX()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float BBM::PositionComponent::getX </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the X position of this entity. </p>
</div>
</div>
<a id="aaa287e95c9378c119530be12ed40c27f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa287e95c9378c119530be12ed40c27f">&#9670;&nbsp;</a></span>getY()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float BBM::PositionComponent::getY </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the Y position of this entity. </p>
</div>
</div>
<a id="a2a8da5f34a8a48b850426587c9bdcd0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a8da5f34a8a48b850426587c9bdcd0e">&#9670;&nbsp;</a></span>getZ()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float BBM::PositionComponent::getZ </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the Z position of this entity. </p>
</div>
</div>
<a id="a3ebf0cdf0f6cabc5c1fb65123a11fe85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ebf0cdf0f6cabc5c1fb65123a11fe85">&#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_1PositionComponent.html">PositionComponent</a>&amp; BBM::PositionComponent::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classBBM_1_1PositionComponent.html">PositionComponent</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 position component is not assignable. </p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ad7d96ea0d42c2c7b2a640ca60dedc151"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7d96ea0d42c2c7b2a640ca60dedc151">&#9670;&nbsp;</a></span>position</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceBBM.html#ad0b7cbe1d35a6c8ac75e31df6e1357a5">Vector3f</a> BBM::PositionComponent::position</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the editable position of this entity. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>sources/Component/Position/<a class="el" href="PositionComponent_8hpp_source.html">PositionComponent.hpp</a></li>
<li>sources/Component/Position/<a class="el" href="PositionComponent_8cpp.html">PositionComponent.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>