0
0
mirror of https://github.com/Nimac0/SDL_Minigame synced 2026-01-12 07:53:43 +00:00

deploy: 7b6d86be9285554f35a27d7330d7bbdd68633246

This commit is contained in:
Nimac0 2025-05-10 17:35:11 +00:00
parent b25f4349da
commit 82e1aef03e
46 changed files with 339 additions and 312 deletions

View File

@ -131,29 +131,31 @@ $(function(){initNavTree('DataComponent_8h_source.html',''); initResizable(true)
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include &quot;Component.h&quot;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span></div>
<div class="foldopen" id="foldopen00010" data-start="{" data-end="};">
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"><a class="line" href="classDataComponent.html"> 10</a></span><span class="keyword">class </span>DataComponent : <span class="keyword">public</span> Component</div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"><a class="line" href="classDataComponent.html"> 10</a></span><span class="keyword">class </span><a class="code hl_function" href="classDataComponent.html#a1d9bc3a1c818e646be5d093119edeb01">DataComponent</a> : <span class="keyword">public</span> Component</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span>{</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> DataComponent() {};</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> ~DataComponent() {};</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="classDataComponent.html#a1dd53c6cb91e572090c2b6853881f8c9"> 22</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classDataComponent.html#a1dd53c6cb91e572090c2b6853881f8c9">setEntry</a>(<span class="keyword">const</span> std::string&amp; key, <span class="keyword">const</span> T&amp; value) { dataMap.insert_or_assign(key, value); }</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div>
<div class="foldopen" id="foldopen00031" data-start="{" data-end="}">
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="classDataComponent.html#a6e71b0bec578a208eb716676e3ccf667"> 31</a></span> std::optional&lt;T&gt; <a class="code hl_function" href="classDataComponent.html#a6e71b0bec578a208eb716676e3ccf667">getEntry</a>(std::string key)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> <span class="keywordflow">if</span> (!this-&gt;dataMap.contains(key)) <span class="keywordflow">return</span> std::nullopt;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">const</span> std::any&amp; value = this-&gt;dataMap.at(key);</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> <span class="keywordflow">if</span> (value.type() != <span class="keyword">typeid</span>(T)) { <span class="keywordflow">return</span> std::nullopt; }</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <span class="keywordflow">return</span> std::any_cast&lt;T&gt;(value);</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> }</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="classDataComponent.html#a1d9bc3a1c818e646be5d093119edeb01"> 14</a></span> <a class="code hl_function" href="classDataComponent.html#a1d9bc3a1c818e646be5d093119edeb01">DataComponent</a>() {};</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> <a class="code hl_class" href="classDataComponent.html">~DataComponent</a>() {};</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="classDataComponent.html#a1dd53c6cb91e572090c2b6853881f8c9"> 23</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classDataComponent.html#a1dd53c6cb91e572090c2b6853881f8c9">setEntry</a>(<span class="keyword">const</span> std::string&amp; key, <span class="keyword">const</span> T&amp; value) { dataMap.insert_or_assign(key, value); }</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div>
<div class="foldopen" id="foldopen00033" data-start="{" data-end="}">
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="classDataComponent.html#a6e71b0bec578a208eb716676e3ccf667"> 33</a></span> std::optional&lt;T&gt; <a class="code hl_function" href="classDataComponent.html#a6e71b0bec578a208eb716676e3ccf667">getEntry</a>(std::string key)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> <span class="keywordflow">if</span> (!this-&gt;dataMap.contains(key)) <span class="keywordflow">return</span> std::nullopt;</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">const</span> std::any&amp; value = this-&gt;dataMap.at(key);</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <span class="keywordflow">if</span> (value.type() != <span class="keyword">typeid</span>(T)) { <span class="keywordflow">return</span> std::nullopt; }</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <span class="keywordflow">return</span> std::any_cast&lt;T&gt;(value);</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> }</div>
</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> std::map&lt;std::string, std::any&gt; dataMap;</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span>};</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> std::map&lt;std::string, std::any&gt; dataMap;</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span>};</div>
</div>
<div class="ttc" id="aclassDataComponent_html_a1dd53c6cb91e572090c2b6853881f8c9"><div class="ttname"><a href="classDataComponent.html#a1dd53c6cb91e572090c2b6853881f8c9">DataComponent::setEntry</a></div><div class="ttdeci">void setEntry(const std::string &amp;key, const T &amp;value)</div><div class="ttdoc">Set a key-value pair of any type in the data map.</div><div class="ttdef"><b>Definition</b> DataComponent.h:22</div></div>
<div class="ttc" id="aclassDataComponent_html_a6e71b0bec578a208eb716676e3ccf667"><div class="ttname"><a href="classDataComponent.html#a6e71b0bec578a208eb716676e3ccf667">DataComponent::getEntry</a></div><div class="ttdeci">std::optional&lt; T &gt; getEntry(std::string key) const</div><div class="ttdoc">Get a value of type T from the data map.</div><div class="ttdef"><b>Definition</b> DataComponent.h:31</div></div>
<div class="ttc" id="aclassDataComponent_html"><div class="ttname"><a href="classDataComponent.html">DataComponent</a></div><div class="ttdoc">DataComponent class to centrally store data about an entity such as stats.</div><div class="ttdef"><b>Definition</b> DataComponent.h:11</div></div>
<div class="ttc" id="aclassDataComponent_html_a1d9bc3a1c818e646be5d093119edeb01"><div class="ttname"><a href="classDataComponent.html#a1d9bc3a1c818e646be5d093119edeb01">DataComponent::DataComponent</a></div><div class="ttdeci">DataComponent()</div><div class="ttdoc">The data component only has a default constructor.</div><div class="ttdef"><b>Definition</b> DataComponent.h:14</div></div>
<div class="ttc" id="aclassDataComponent_html_a1dd53c6cb91e572090c2b6853881f8c9"><div class="ttname"><a href="classDataComponent.html#a1dd53c6cb91e572090c2b6853881f8c9">DataComponent::setEntry</a></div><div class="ttdeci">void setEntry(const std::string &amp;key, const T &amp;value)</div><div class="ttdoc">Set a key-value pair of any type in the data map.</div><div class="ttdef"><b>Definition</b> DataComponent.h:23</div></div>
<div class="ttc" id="aclassDataComponent_html_a6e71b0bec578a208eb716676e3ccf667"><div class="ttname"><a href="classDataComponent.html#a6e71b0bec578a208eb716676e3ccf667">DataComponent::getEntry</a></div><div class="ttdeci">std::optional&lt; T &gt; getEntry(std::string key) const</div><div class="ttdoc">Get a value of type T from the data map.</div><div class="ttdef"><b>Definition</b> DataComponent.h:33</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->

View File

@ -138,7 +138,7 @@ $(function(){initNavTree('SpriteComponent_8h_source.html',''); initResizable(tru
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="keyword">class </span><a class="code hl_class" href="classTransformComponent.html">TransformComponent</a>;</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span></div>
<div class="foldopen" id="foldopen00017" data-start="{" data-end="};">
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="classSpriteComponent.html"> 17</a></span><span class="keyword">class </span><a class="code hl_function" href="classSpriteComponent.html#af767b0da914fc583613626ac58505d58">SpriteComponent</a> : <span class="keyword">public</span> Component, <span class="keyword">public</span> RenderObject</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="classSpriteComponent.html"> 17</a></span><span class="keyword">class </span><a class="code hl_function" href="classSpriteComponent.html#a986be57e30c06ed8df1479394d185563">SpriteComponent</a> : <span class="keyword">public</span> Component, <span class="keyword">public</span> RenderObject</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span>{</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> <span class="keywordtype">int</span> animationIndex = 0;</div>
@ -168,38 +168,34 @@ $(function(){initNavTree('SpriteComponent_8h_source.html',''); initResizable(tru
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="comment">//debug</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <a class="code hl_class" href="classTextures.html">Textures</a> getTexture() { <span class="keywordflow">return</span> this-&gt;textureEnum; }</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <a class="code hl_function" href="classSpriteComponent.html#af767b0da914fc583613626ac58505d58">SpriteComponent</a>(<a class="code hl_class" href="classTextures.html">Textures</a> texture, <span class="keywordtype">int</span> zIndex);</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span></div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> <a class="code hl_function" href="classSpriteComponent.html#af767b0da914fc583613626ac58505d58">SpriteComponent</a>(<a class="code hl_class" href="classTextures.html">Textures</a> texture, <span class="keywordtype">int</span> xOffset, <span class="keywordtype">int</span> yOffset, <span class="keywordtype">int</span> zIndex);</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span></div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <a class="code hl_function" href="classSpriteComponent.html#af767b0da914fc583613626ac58505d58">SpriteComponent</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* path, <span class="keywordtype">int</span> xOffset, <span class="keywordtype">int</span> yOffset, <span class="keywordtype">int</span> zIndex);</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <a class="code hl_function" href="classSpriteComponent.html#af767b0da914fc583613626ac58505d58">SpriteComponent</a>(</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <a class="code hl_class" href="classTextures.html">Textures</a> texture,</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> <span class="keywordtype">bool</span> isAnimated,</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> std::map&lt;std::string, std::unique_ptr&lt;Animation&gt;&gt;* animationList,</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> std::string defaultAnimation,</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <span class="keywordtype">int</span> zIndex,</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keywordtype">int</span> xOffset = 0,</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <span class="keywordtype">int</span> yOffset = 0);</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> </div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <a class="code hl_function" href="classSpriteComponent.html#af767b0da914fc583613626ac58505d58">~SpriteComponent</a>();</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <a class="code hl_function" href="classSpriteComponent.html#a986be57e30c06ed8df1479394d185563">SpriteComponent</a>(<a class="code hl_class" href="classTextures.html">Textures</a> texture, <span class="keywordtype">int</span> zIndex, <span class="keywordtype">int</span> xOffset = 0, <span class="keywordtype">int</span> yOffset = 0);</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <a class="code hl_function" href="classSpriteComponent.html#a986be57e30c06ed8df1479394d185563">SpriteComponent</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* path, <span class="keywordtype">int</span> zIndex, <span class="keywordtype">int</span> xOffset = 0, <span class="keywordtype">int</span> yOffset = 0);</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span></div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <a class="code hl_function" href="classSpriteComponent.html#a986be57e30c06ed8df1479394d185563">SpriteComponent</a>(</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> <a class="code hl_class" href="classTextures.html">Textures</a> texture,</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> <span class="keywordtype">bool</span> isAnimated,</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> std::map&lt;std::string, std::unique_ptr&lt;Animation&gt;&gt;* animationList,</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> std::string defaultAnimation,</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <span class="keywordtype">int</span> zIndex,</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> <span class="keywordtype">int</span> xOffset = 0,</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <span class="keywordtype">int</span> yOffset = 0);</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> </div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> <a class="code hl_function" href="classSpriteComponent.html#a986be57e30c06ed8df1479394d185563">~SpriteComponent</a>();</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> </div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> <span class="keywordtype">void</span> setTexture(<a class="code hl_class" href="classTextures.html">Textures</a> texture);</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <span class="keywordtype">void</span> setMapTileTexture(<span class="keyword">const</span> <span class="keywordtype">char</span>* path);</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <span class="keywordtype">void</span> init() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> <span class="keywordtype">void</span> update(uint_fast16_t diffTime) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <span class="keywordtype">void</span> draw() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span></div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="keywordtype">void</span> setTexture(<a class="code hl_class" href="classTextures.html">Textures</a> texture);</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="keywordtype">void</span> setMapTileTexture(<span class="keyword">const</span> <span class="keywordtype">char</span>* path);</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> </div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="keywordtype">void</span> init() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> <span class="keywordtype">void</span> update(uint_fast16_t diffTime) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> <span class="keywordtype">void</span> draw() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span></div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classSpriteComponent.html#aa4ebb6763d8b994f412dec66ecf58c59">playAnimation</a>(std::string type);</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <span class="keywordtype">void</span> setDirection(Direction direction);</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span>};</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classSpriteComponent.html#aa4ebb6763d8b994f412dec66ecf58c59">playAnimation</a>(std::string type);</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="keywordtype">void</span> setDirection(Direction direction);</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span>};</div>
</div>
<div class="ttc" id="aclassSpriteComponent_html_aa4ebb6763d8b994f412dec66ecf58c59"><div class="ttname"><a href="classSpriteComponent.html#aa4ebb6763d8b994f412dec66ecf58c59">SpriteComponent::playAnimation</a></div><div class="ttdeci">void playAnimation(std::string type)</div><div class="ttdoc">By name select which animation should be played (gets looped)</div><div class="ttdef"><b>Definition</b> SpriteComponent.cpp:101</div></div>
<div class="ttc" id="aclassSpriteComponent_html_af767b0da914fc583613626ac58505d58"><div class="ttname"><a href="classSpriteComponent.html#af767b0da914fc583613626ac58505d58">SpriteComponent::SpriteComponent</a></div><div class="ttdeci">SpriteComponent(Textures texture, int zIndex)</div><div class="ttdoc">Constructor for SpriteComponent.</div><div class="ttdef"><b>Definition</b> SpriteComponent.cpp:18</div></div>
<div class="ttc" id="aclassSpriteComponent_html_a986be57e30c06ed8df1479394d185563"><div class="ttname"><a href="classSpriteComponent.html#a986be57e30c06ed8df1479394d185563">SpriteComponent::SpriteComponent</a></div><div class="ttdeci">SpriteComponent(Textures texture, int zIndex, int xOffset=0, int yOffset=0)</div><div class="ttdef"><b>Definition</b> SpriteComponent.cpp:18</div></div>
<div class="ttc" id="aclassSpriteComponent_html_aa4ebb6763d8b994f412dec66ecf58c59"><div class="ttname"><a href="classSpriteComponent.html#aa4ebb6763d8b994f412dec66ecf58c59">SpriteComponent::playAnimation</a></div><div class="ttdeci">void playAnimation(std::string type)</div><div class="ttdoc">By name select which animation should be played (gets looped)</div><div class="ttdef"><b>Definition</b> SpriteComponent.cpp:95</div></div>
<div class="ttc" id="aclassTextures_html"><div class="ttname"><a href="classTextures.html">Textures</a></div><div class="ttdoc">Forward declaration of the Textures enum class.</div></div>
<div class="ttc" id="aclassTransformComponent_html"><div class="ttname"><a href="classTransformComponent.html">TransformComponent</a></div><div class="ttdoc">The transform component is responsible for the position, direction and size of an entity....</div><div class="ttdef"><b>Definition</b> TransformComponent.h:10</div></div>
</div><!-- fragment --></div><!-- contents -->

View File

@ -134,26 +134,28 @@ $(function(){initNavTree('TransformComponent_8h_source.html',''); initResizable(
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span>{</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> Vector2D position; <span class="comment">// TODO: change to int to save CPU time -&gt; possibly subpixel coordinates</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> Vector2D direction;</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> <span class="keywordtype">int</span> height = 32;</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> <span class="keywordtype">int</span> width = 32;</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> <span class="keywordtype">float</span> scale = 1;</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">explicit</span> <a class="code hl_function" href="classTransformComponent.html#a636369521f092e7dc3f8dd34b8f8c68d">TransformComponent</a>(<span class="keywordtype">float</span> scale = 1);</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="classTransformComponent.html#a39e31f729aeb4da883a135c66354124f"> 18</a></span> Vector2D <a class="code hl_variable" href="classTransformComponent.html#a39e31f729aeb4da883a135c66354124f">direction</a>;</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> <span class="keywordtype">int</span> height = 32;</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> <span class="keywordtype">int</span> width = 32;</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <span class="keywordtype">float</span> scale = 1;</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> <a class="code hl_function" href="classTransformComponent.html#a636369521f092e7dc3f8dd34b8f8c68d">TransformComponent</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> scale = 1);</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">explicit</span> <a class="code hl_function" href="classTransformComponent.html#a636369521f092e7dc3f8dd34b8f8c68d">TransformComponent</a>(<span class="keywordtype">float</span> scale = 1);</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> <a class="code hl_function" href="classTransformComponent.html#a636369521f092e7dc3f8dd34b8f8c68d">TransformComponent</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h, <span class="keywordtype">float</span> scale = 1);</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <span class="keywordtype">void</span> init() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <span class="keywordtype">void</span> update(uint_fast16_t diffTime) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> <span class="keywordtype">void</span> setPositionAfterCollision(Vector2D&amp; positionChange);</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <span class="keywordtype">int</span> getSpeed();</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> <a class="code hl_function" href="classTransformComponent.html#a636369521f092e7dc3f8dd34b8f8c68d">TransformComponent</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> scale = 1);</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <a class="code hl_function" href="classTransformComponent.html#a636369521f092e7dc3f8dd34b8f8c68d">TransformComponent</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h, <span class="keywordtype">float</span> scale = 1);</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span>};</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <span class="keywordtype">void</span> init() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <span class="keywordtype">void</span> update(uint_fast16_t diffTime) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="keywordtype">void</span> setPositionAfterCollision(Vector2D&amp; positionChange);</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="keywordtype">int</span> getSpeed();</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span>};</div>
</div>
<div class="ttc" id="aclassTransformComponent_html_a39e31f729aeb4da883a135c66354124f"><div class="ttname"><a href="classTransformComponent.html#a39e31f729aeb4da883a135c66354124f">TransformComponent::direction</a></div><div class="ttdeci">Vector2D direction</div><div class="ttdoc">The direction in which the entity is moving. (0, 0) is the default and signifies no movement.</div><div class="ttdef"><b>Definition</b> TransformComponent.h:18</div></div>
<div class="ttc" id="aclassTransformComponent_html_a636369521f092e7dc3f8dd34b8f8c68d"><div class="ttname"><a href="classTransformComponent.html#a636369521f092e7dc3f8dd34b8f8c68d">TransformComponent::TransformComponent</a></div><div class="ttdeci">TransformComponent(float scale=1)</div><div class="ttdef"><b>Definition</b> TransformComponent.cpp:16</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->

View File

@ -125,8 +125,9 @@ $(function(){initNavTree('classDataComponent.html',''); initResizable(true); });
<p>This is the complete list of members for <a class="el" href="classDataComponent.html">DataComponent</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classDataComponent.html#a6e71b0bec578a208eb716676e3ccf667">getEntry</a>(std::string key) const</td><td class="entry"><a class="el" href="classDataComponent.html">DataComponent</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classDataComponent.html#a1dd53c6cb91e572090c2b6853881f8c9">setEntry</a>(const std::string &amp;key, const T &amp;value)</td><td class="entry"><a class="el" href="classDataComponent.html">DataComponent</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classDataComponent.html#a1d9bc3a1c818e646be5d093119edeb01">DataComponent</a>()</td><td class="entry"><a class="el" href="classDataComponent.html">DataComponent</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classDataComponent.html#a6e71b0bec578a208eb716676e3ccf667">getEntry</a>(std::string key) const</td><td class="entry"><a class="el" href="classDataComponent.html">DataComponent</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classDataComponent.html#a1dd53c6cb91e572090c2b6853881f8c9">setEntry</a>(const std::string &amp;key, const T &amp;value)</td><td class="entry"><a class="el" href="classDataComponent.html">DataComponent</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->

View File

@ -133,6 +133,10 @@ $(function(){initNavTree('classDataComponent.html',''); initResizable(true); });
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1d9bc3a1c818e646be5d093119edeb01" id="r_a1d9bc3a1c818e646be5d093119edeb01"><td class="memItemLeft" align="right" valign="top"><a id="a1d9bc3a1c818e646be5d093119edeb01" name="a1d9bc3a1c818e646be5d093119edeb01"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>DataComponent</b> ()</td></tr>
<tr class="memdesc:a1d9bc3a1c818e646be5d093119edeb01"><td class="mdescLeft">&#160;</td><td class="mdescRight">The data component only has a default constructor. <br /></td></tr>
<tr class="separator:a1d9bc3a1c818e646be5d093119edeb01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dd53c6cb91e572090c2b6853881f8c9" id="r_a1dd53c6cb91e572090c2b6853881f8c9"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:a1dd53c6cb91e572090c2b6853881f8c9"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a1dd53c6cb91e572090c2b6853881f8c9">setEntry</a> (const std::string &amp;key, const T &amp;value)</td></tr>
<tr class="memdesc:a1dd53c6cb91e572090c2b6853881f8c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a key-value pair of any type in the data map. <br /></td></tr>
@ -171,9 +175,10 @@ template&lt;typename T&gt; </div>
</div><div class="memdoc">
<p>Get a value of type T from the data map. </p>
<p>e.g. </p><div class="fragment"><div class="line"><a class="code hl_function" href="#a6e71b0bec578a208eb716676e3ccf667">getEntry&lt;int&gt;</a>(<span class="stringliteral">&quot;speed&quot;</span>);</div>
<div class="ttc" id="aclassDataComponent_html_a6e71b0bec578a208eb716676e3ccf667"><div class="ttname"><a href="#a6e71b0bec578a208eb716676e3ccf667">DataComponent::getEntry</a></div><div class="ttdeci">std::optional&lt; T &gt; getEntry(std::string key) const</div><div class="ttdoc">Get a value of type T from the data map.</div><div class="ttdef"><b>Definition</b> DataComponent.h:31</div></div>
</div><!-- fragment --><p> in this case the key is "speed" and the value is returned as an integer </p><dl class="params"><dt>Parameters</dt><dd>
<p>e.g. </p><div class="fragment"><div class="line"><a class="code hl_function" href="#a6e71b0bec578a208eb716676e3ccf667">getEntry&lt;int&gt;</a>(<span class="stringliteral">&quot;speed&quot;</span>).value();</div>
<div class="ttc" id="aclassDataComponent_html_a6e71b0bec578a208eb716676e3ccf667"><div class="ttname"><a href="#a6e71b0bec578a208eb716676e3ccf667">DataComponent::getEntry</a></div><div class="ttdeci">std::optional&lt; T &gt; getEntry(std::string key) const</div><div class="ttdoc">Get a value of type T from the data map.</div><div class="ttdef"><b>Definition</b> DataComponent.h:33</div></div>
</div><!-- fragment --><p> in this case the key is "speed" and the value is returned as an integer</p>
<p>the value() or value_or() is NEEDED to handle the optional return type </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>The name to retrieve the value from </td></tr>
</table>
@ -214,7 +219,7 @@ template&lt;typename T&gt; </div>
<p>Set a key-value pair of any type in the data map. </p>
<p>e.g. </p><div class="fragment"><div class="line"><a class="code hl_function" href="#a1dd53c6cb91e572090c2b6853881f8c9">setEntry</a>(<span class="stringliteral">&quot;speed&quot;</span>, 180);</div>
<div class="ttc" id="aclassDataComponent_html_a1dd53c6cb91e572090c2b6853881f8c9"><div class="ttname"><a href="#a1dd53c6cb91e572090c2b6853881f8c9">DataComponent::setEntry</a></div><div class="ttdeci">void setEntry(const std::string &amp;key, const T &amp;value)</div><div class="ttdoc">Set a key-value pair of any type in the data map.</div><div class="ttdef"><b>Definition</b> DataComponent.h:22</div></div>
<div class="ttc" id="aclassDataComponent_html_a1dd53c6cb91e572090c2b6853881f8c9"><div class="ttname"><a href="#a1dd53c6cb91e572090c2b6853881f8c9">DataComponent::setEntry</a></div><div class="ttdeci">void setEntry(const std::string &amp;key, const T &amp;value)</div><div class="ttdoc">Set a key-value pair of any type in the data map.</div><div class="ttdef"><b>Definition</b> DataComponent.h:23</div></div>
</div><!-- fragment --><p> in this case the key is "speed" and the value is set to an integer of 180 </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>The name to store the value under </td></tr>

View File

@ -1,5 +1,6 @@
var classDataComponent =
[
[ "DataComponent", "classDataComponent.html#a1d9bc3a1c818e646be5d093119edeb01", null ],
[ "getEntry", "classDataComponent.html#a6e71b0bec578a208eb716676e3ccf667", null ],
[ "setEntry", "classDataComponent.html#a1dd53c6cb91e572090c2b6853881f8c9", null ]
];

View File

@ -126,10 +126,9 @@ $(function(){initNavTree('classSpriteComponent.html',''); initResizable(true); }
<p>This is the complete list of members for <a class="el" href="classSpriteComponent.html">SpriteComponent</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classSpriteComponent.html#aa4ebb6763d8b994f412dec66ecf58c59">playAnimation</a>(std::string type)</td><td class="entry"><a class="el" href="classSpriteComponent.html">SpriteComponent</a></td><td class="entry"></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classSpriteComponent.html#af767b0da914fc583613626ac58505d58">SpriteComponent</a>(Textures texture, int zIndex)</td><td class="entry"><a class="el" href="classSpriteComponent.html">SpriteComponent</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classSpriteComponent.html#a2c2b0ac3fc6418bb475d257597905e66">SpriteComponent</a>(Textures texture, int xOffset, int yOffset, int zIndex)</td><td class="entry"><a class="el" href="classSpriteComponent.html">SpriteComponent</a></td><td class="entry"></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classSpriteComponent.html#a5987774516010e021703a02a37d0509b">SpriteComponent</a>(const char *path, int xOffset, int yOffset, int zIndex)</td><td class="entry"><a class="el" href="classSpriteComponent.html">SpriteComponent</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classSpriteComponent.html#a2c60f55924b1d18b9e6fb530b5c5346a">SpriteComponent</a>(Textures texture, bool isAnimated, std::map&lt; std::string, std::unique_ptr&lt; Animation &gt; &gt; *animationList, std::string defaultAnimation, int zIndex, int xOffset=0, int yOffset=0)</td><td class="entry"><a class="el" href="classSpriteComponent.html">SpriteComponent</a></td><td class="entry"></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classSpriteComponent.html#a986be57e30c06ed8df1479394d185563">SpriteComponent</a>(Textures texture, int zIndex, int xOffset=0, int yOffset=0)</td><td class="entry"><a class="el" href="classSpriteComponent.html">SpriteComponent</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classSpriteComponent.html#a776a161c30dbfd0f7dc7d42d477b45bb">SpriteComponent</a>(const char *path, int zIndex, int xOffset=0, int yOffset=0)</td><td class="entry"><a class="el" href="classSpriteComponent.html">SpriteComponent</a></td><td class="entry"></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classSpriteComponent.html#a2c60f55924b1d18b9e6fb530b5c5346a">SpriteComponent</a>(Textures texture, bool isAnimated, std::map&lt; std::string, std::unique_ptr&lt; Animation &gt; &gt; *animationList, std::string defaultAnimation, int zIndex, int xOffset=0, int yOffset=0)</td><td class="entry"><a class="el" href="classSpriteComponent.html">SpriteComponent</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->

View File

@ -133,13 +133,10 @@ $(function(){initNavTree('classSpriteComponent.html',''); initResizable(true); }
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af767b0da914fc583613626ac58505d58" id="r_af767b0da914fc583613626ac58505d58"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af767b0da914fc583613626ac58505d58">SpriteComponent</a> (<a class="el" href="classTextures.html">Textures</a> texture, int zIndex)</td></tr>
<tr class="memdesc:af767b0da914fc583613626ac58505d58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for <a class="el" href="classSpriteComponent.html" title="SpriteComponent class to handle sprite rendering and animation of entities.">SpriteComponent</a>. <br /></td></tr>
<tr class="separator:af767b0da914fc583613626ac58505d58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c2b0ac3fc6418bb475d257597905e66" id="r_a2c2b0ac3fc6418bb475d257597905e66"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2c2b0ac3fc6418bb475d257597905e66">SpriteComponent</a> (<a class="el" href="classTextures.html">Textures</a> texture, int xOffset, int yOffset, int zIndex)</td></tr>
<tr class="separator:a2c2b0ac3fc6418bb475d257597905e66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5987774516010e021703a02a37d0509b" id="r_a5987774516010e021703a02a37d0509b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5987774516010e021703a02a37d0509b">SpriteComponent</a> (const char *path, int xOffset, int yOffset, int zIndex)</td></tr>
<tr class="separator:a5987774516010e021703a02a37d0509b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a986be57e30c06ed8df1479394d185563" id="r_a986be57e30c06ed8df1479394d185563"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a986be57e30c06ed8df1479394d185563">SpriteComponent</a> (<a class="el" href="classTextures.html">Textures</a> texture, int zIndex, int xOffset=0, int yOffset=0)</td></tr>
<tr class="separator:a986be57e30c06ed8df1479394d185563"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a776a161c30dbfd0f7dc7d42d477b45bb" id="r_a776a161c30dbfd0f7dc7d42d477b45bb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a776a161c30dbfd0f7dc7d42d477b45bb">SpriteComponent</a> (const char *path, int zIndex, int xOffset=0, int yOffset=0)</td></tr>
<tr class="separator:a776a161c30dbfd0f7dc7d42d477b45bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c60f55924b1d18b9e6fb530b5c5346a" id="r_a2c60f55924b1d18b9e6fb530b5c5346a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2c60f55924b1d18b9e6fb530b5c5346a">SpriteComponent</a> (<a class="el" href="classTextures.html">Textures</a> texture, bool isAnimated, std::map&lt; std::string, std::unique_ptr&lt; <a class="el" href="structAnimation.html">Animation</a> &gt; &gt; *animationList, std::string defaultAnimation, int zIndex, int xOffset=0, int yOffset=0)</td></tr>
<tr class="memdesc:a2c60f55924b1d18b9e6fb530b5c5346a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor used for <b>animated</b> sprites. <br /></td></tr>
<tr class="separator:a2c60f55924b1d18b9e6fb530b5c5346a"><td class="memSeparator" colspan="2">&#160;</td></tr>
@ -150,8 +147,8 @@ Public Member Functions</h2></td></tr>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classSpriteComponent.html" title="SpriteComponent class to handle sprite rendering and animation of entities.">SpriteComponent</a> class to handle sprite rendering and animation of entities. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="af767b0da914fc583613626ac58505d58" name="af767b0da914fc583613626ac58505d58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af767b0da914fc583613626ac58505d58">&#9670;&#160;</a></span>SpriteComponent() <span class="overload">[1/4]</span></h2>
<a id="a986be57e30c06ed8df1479394d185563" name="a986be57e30c06ed8df1479394d185563"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a986be57e30c06ed8df1479394d185563">&#9670;&#160;</a></span>SpriteComponent() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
@ -164,47 +161,17 @@ Public Member Functions</h2></td></tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>zIndex</em></span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor for <a class="el" href="classSpriteComponent.html" title="SpriteComponent class to handle sprite rendering and animation of entities.">SpriteComponent</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">texture</td><td>The texture to be used for the sprite, must be a Texture enum </td></tr>
<tr><td class="paramname">zIndex</td><td>The z-index of the sprite, used for rendering order, in order to show up on the map, the zIndex must be higher than the layer you want it to show up on </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a2c2b0ac3fc6418bb475d257597905e66" name="a2c2b0ac3fc6418bb475d257597905e66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c2b0ac3fc6418bb475d257597905e66">&#9670;&#160;</a></span>SpriteComponent() <span class="overload">[2/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">SpriteComponent::SpriteComponent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classTextures.html">Textures</a></td> <td class="paramname"><span class="paramname"><em>texture</em></span>, </td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>zIndex</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>xOffset</em></span>, </td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>xOffset</em></span><span class="paramdefsep"> = </span><span class="paramdefval">0</span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>yOffset</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>zIndex</em></span>&#160;)</td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>yOffset</em></span><span class="paramdefsep"> = </span><span class="paramdefval">0</span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
@ -220,8 +187,8 @@ Public Member Functions</h2></td></tr>
</div>
</div>
<a id="a5987774516010e021703a02a37d0509b" name="a5987774516010e021703a02a37d0509b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5987774516010e021703a02a37d0509b">&#9670;&#160;</a></span>SpriteComponent() <span class="overload">[3/4]</span></h2>
<a id="a776a161c30dbfd0f7dc7d42d477b45bb" name="a776a161c30dbfd0f7dc7d42d477b45bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a776a161c30dbfd0f7dc7d42d477b45bb">&#9670;&#160;</a></span>SpriteComponent() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
@ -234,17 +201,17 @@ Public Member Functions</h2></td></tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>xOffset</em></span>, </td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>zIndex</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>yOffset</em></span>, </td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>xOffset</em></span><span class="paramdefsep"> = </span><span class="paramdefval">0</span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>zIndex</em></span>&#160;)</td>
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>yOffset</em></span><span class="paramdefsep"> = </span><span class="paramdefval">0</span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
@ -261,7 +228,7 @@ Public Member Functions</h2></td></tr>
</div>
</div>
<a id="a2c60f55924b1d18b9e6fb530b5c5346a" name="a2c60f55924b1d18b9e6fb530b5c5346a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c60f55924b1d18b9e6fb530b5c5346a">&#9670;&#160;</a></span>SpriteComponent() <span class="overload">[4/4]</span></h2>
<h2 class="memtitle"><span class="permalink"><a href="#a2c60f55924b1d18b9e6fb530b5c5346a">&#9670;&#160;</a></span>SpriteComponent() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">

View File

@ -1,8 +1,7 @@
var classSpriteComponent =
[
[ "SpriteComponent", "classSpriteComponent.html#af767b0da914fc583613626ac58505d58", null ],
[ "SpriteComponent", "classSpriteComponent.html#a2c2b0ac3fc6418bb475d257597905e66", null ],
[ "SpriteComponent", "classSpriteComponent.html#a5987774516010e021703a02a37d0509b", null ],
[ "SpriteComponent", "classSpriteComponent.html#a986be57e30c06ed8df1479394d185563", null ],
[ "SpriteComponent", "classSpriteComponent.html#a776a161c30dbfd0f7dc7d42d477b45bb", null ],
[ "SpriteComponent", "classSpriteComponent.html#a2c60f55924b1d18b9e6fb530b5c5346a", null ],
[ "playAnimation", "classSpriteComponent.html#aa4ebb6763d8b994f412dec66ecf58c59", null ]
];

View File

@ -125,9 +125,10 @@ $(function(){initNavTree('classTransformComponent.html',''); initResizable(true)
<p>This is the complete list of members for <a class="el" href="classTransformComponent.html">TransformComponent</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classTransformComponent.html#a636369521f092e7dc3f8dd34b8f8c68d">TransformComponent</a>(float scale=1)</td><td class="entry"><a class="el" href="classTransformComponent.html">TransformComponent</a></td><td class="entry"><span class="mlabel">explicit</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classTransformComponent.html#af69e09cf21f97b258bf9ab4aecb096d9">TransformComponent</a>(float x, float y, float scale=1)</td><td class="entry"><a class="el" href="classTransformComponent.html">TransformComponent</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classTransformComponent.html#aa6c585faf233543172f739fb306e6c74">TransformComponent</a>(float x, float y, int w, int h, float scale=1)</td><td class="entry"><a class="el" href="classTransformComponent.html">TransformComponent</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classTransformComponent.html#a39e31f729aeb4da883a135c66354124f">direction</a></td><td class="entry"><a class="el" href="classTransformComponent.html">TransformComponent</a></td><td class="entry"></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classTransformComponent.html#a636369521f092e7dc3f8dd34b8f8c68d">TransformComponent</a>(float scale=1)</td><td class="entry"><a class="el" href="classTransformComponent.html">TransformComponent</a></td><td class="entry"><span class="mlabel">explicit</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classTransformComponent.html#af69e09cf21f97b258bf9ab4aecb096d9">TransformComponent</a>(float x, float y, float scale=1)</td><td class="entry"><a class="el" href="classTransformComponent.html">TransformComponent</a></td><td class="entry"></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classTransformComponent.html#aa6c585faf233543172f739fb306e6c74">TransformComponent</a>(float x, float y, int w, int h, float scale=1)</td><td class="entry"><a class="el" href="classTransformComponent.html">TransformComponent</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->

View File

@ -121,6 +121,7 @@ $(function(){initNavTree('classTransformComponent.html',''); initResizable(true)
<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="classTransformComponent-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">TransformComponent Class Reference</div></div>
</div><!--header-->
@ -139,6 +140,12 @@ Public Member Functions</h2></td></tr>
<tr class="separator:af69e09cf21f97b258bf9ab4aecb096d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6c585faf233543172f739fb306e6c74" id="r_aa6c585faf233543172f739fb306e6c74"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa6c585faf233543172f739fb306e6c74">TransformComponent</a> (float x, float y, int w, int h, float scale=1)</td></tr>
<tr class="separator:aa6c585faf233543172f739fb306e6c74"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a39e31f729aeb4da883a135c66354124f" id="r_a39e31f729aeb4da883a135c66354124f"><td class="memItemLeft" align="right" valign="top">Vector2D&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a39e31f729aeb4da883a135c66354124f">direction</a></td></tr>
<tr class="memdesc:a39e31f729aeb4da883a135c66354124f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The direction in which the entity is moving. (0, 0) is the default and signifies no movement. <br /></td></tr>
<tr class="separator:a39e31f729aeb4da883a135c66354124f"><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>The transform component is responsible for the position, direction and size of an entity. It is used to move the entity in the game world and to determine its size and position on the screen. </p>
@ -253,6 +260,26 @@ Public Member Functions</h2></td></tr>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a39e31f729aeb4da883a135c66354124f" name="a39e31f729aeb4da883a135c66354124f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39e31f729aeb4da883a135c66354124f">&#9670;&#160;</a></span>direction</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Vector2D TransformComponent::direction</td>
</tr>
</table>
</div><div class="memdoc">
<p>The direction in which the entity is moving. (0, 0) is the default and signifies no movement. </p>
<p>access direction with direction.x and direction.y for each direction</p>
<p>x = 1 for right, -1 for left</p>
<p>y = 1 for down, -1 for up </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>

View File

@ -2,5 +2,6 @@ var classTransformComponent =
[
[ "TransformComponent", "classTransformComponent.html#a636369521f092e7dc3f8dd34b8f8c68d", null ],
[ "TransformComponent", "classTransformComponent.html#af69e09cf21f97b258bf9ab4aecb096d9", null ],
[ "TransformComponent", "classTransformComponent.html#aa6c585faf233543172f739fb306e6c74", null ]
[ "TransformComponent", "classTransformComponent.html#aa6c585faf233543172f739fb306e6c74", null ],
[ "direction", "classTransformComponent.html#a39e31f729aeb4da883a135c66354124f", null ]
];

View File

@ -74,6 +74,7 @@
<a href="classConfigLoader.html"/>
<a href="classDataComponent-members.html"/>
<a href="classDataComponent.html"/>
<a href="classDataComponent.html#a1d9bc3a1c818e646be5d093119edeb01"/>
<a href="classDataComponent.html#a1dd53c6cb91e572090c2b6853881f8c9"/>
<a href="classDataComponent.html#a6e71b0bec578a208eb716676e3ccf667"/>
<a href="classEntity-members.html"/>
@ -216,11 +217,10 @@
<a href="classSoundManager.html#af99aee751f8300ba4041af004a97d319"/>
<a href="classSpriteComponent-members.html"/>
<a href="classSpriteComponent.html"/>
<a href="classSpriteComponent.html#a2c2b0ac3fc6418bb475d257597905e66"/>
<a href="classSpriteComponent.html#a2c60f55924b1d18b9e6fb530b5c5346a"/>
<a href="classSpriteComponent.html#a5987774516010e021703a02a37d0509b"/>
<a href="classSpriteComponent.html#a776a161c30dbfd0f7dc7d42d477b45bb"/>
<a href="classSpriteComponent.html#a986be57e30c06ed8df1479394d185563"/>
<a href="classSpriteComponent.html#aa4ebb6763d8b994f412dec66ecf58c59"/>
<a href="classSpriteComponent.html#af767b0da914fc583613626ac58505d58"/>
<a href="classStatEffectsComponent-members.html"/>
<a href="classStatEffectsComponent.html"/>
<a href="classStatEffectsComponent.html#a2d5edffc1abd620d39aa0315a1504b13"/>
@ -233,6 +233,7 @@
<a href="classTextures.html"/>
<a href="classTransformComponent-members.html"/>
<a href="classTransformComponent.html"/>
<a href="classTransformComponent.html#a39e31f729aeb4da883a135c66354124f"/>
<a href="classTransformComponent.html#a636369521f092e7dc3f8dd34b8f8c68d"/>
<a href="classTransformComponent.html#aa6c585faf233543172f739fb306e6c74"/>
<a href="classTransformComponent.html#af69e09cf21f97b258bf9ab4aecb096d9"/>
@ -251,6 +252,8 @@
<a href="functions_vars.html"/>
<a href="graph_legend.html"/>
<a href="index.html"/>
<a href="index.html#autotoc_md22"/>
<a href="index.html#autotoc_md23"/>
<a href="md_docs_2md-pages_2config.html"/>
<a href="md_docs_2md-pages_2entitiesAndComponents.html"/>
<a href="md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md10"/>
@ -265,15 +268,15 @@
<a href="md_docs_2md-pages_2eventhandling.html"/>
<a href="md_docs_2md-pages_2inputhandling.html"/>
<a href="md_docs_2md-pages_2quickstart.html"/>
<a href="md_docs_2md-pages_2quickstart.html#autotoc_md23"/>
<a href="md_docs_2md-pages_2quickstart.html#autotoc_md25"/>
<a href="md_docs_2md-pages_2tilemaps.html"/>
<a href="md_docs_2md-pages_2tilemaps.html#autotoc_md25"/>
<a href="md_docs_2md-pages_2tilemaps.html#autotoc_md26"/>
<a href="md_docs_2md-pages_2tilemaps.html#autotoc_md27"/>
<a href="md_docs_2md-pages_2tilemaps.html#autotoc_md28"/>
<a href="md_docs_2md-pages_2tilemaps.html#autotoc_md29"/>
<a href="md_docs_2md-pages_2tilemaps.html#autotoc_md30"/>
<a href="md_docs_2md-pages_2tilemaps.html#autotoc_md31"/>
<a href="md_docs_2md-pages_2tilemaps.html#autotoc_md32"/>
<a href="md_docs_2md-pages_2tilemaps.html#autotoc_md33"/>
<a href="pages.html"/>
<a href="structAnimation-members.html"/>
<a href="structAnimation.html"/>

View File

@ -141,7 +141,9 @@ $(function(){initNavTree('functions.html',''); initResizable(true); });
<h3><a id="index_d" name="index_d"></a>- d -</h3><ul>
<li>data&#160;:&#160;<a class="el" href="structInteractionEventdataStruct.html#a82dc8bba3309e5aca77629c8fd192fbc">InteractionEventdataStruct</a></li>
<li>DataComponent()&#160;:&#160;<a class="el" href="classDataComponent.html#a1d9bc3a1c818e646be5d093119edeb01">DataComponent</a></li>
<li>destroy()&#160;:&#160;<a class="el" href="classEntity.html#a691dbe5f9ec930c27af2af0b97907a9e">Entity</a></li>
<li>direction&#160;:&#160;<a class="el" href="classTransformComponent.html#a39e31f729aeb4da883a135c66354124f">TransformComponent</a></li>
<li>duration&#160;:&#160;<a class="el" href="structStatEffect.html#af1f5099f0680329ff9ce3a9362391196">StatEffect</a></li>
</ul>
@ -228,7 +230,7 @@ $(function(){initNavTree('functions.html',''); initResizable(true); });
<li>setEntry()&#160;:&#160;<a class="el" href="classDataComponent.html#a1dd53c6cb91e572090c2b6853881f8c9">DataComponent</a></li>
<li>setMusicVolume()&#160;:&#160;<a class="el" href="classSoundManager.html#ac5ad38c2322c75ba5481c60c4c26e0e8">SoundManager</a></li>
<li>setSoundVolume()&#160;:&#160;<a class="el" href="classSoundManager.html#af99aee751f8300ba4041af004a97d319">SoundManager</a></li>
<li>SpriteComponent()&#160;:&#160;<a class="el" href="classSpriteComponent.html#af767b0da914fc583613626ac58505d58">SpriteComponent</a></li>
<li>SpriteComponent()&#160;:&#160;<a class="el" href="classSpriteComponent.html#a986be57e30c06ed8df1479394d185563">SpriteComponent</a></li>
<li>strategy&#160;:&#160;<a class="el" href="structInteractionEventdataStruct.html#aad4922791175a51c55987ecedba335c4">InteractionEventdataStruct</a></li>
</ul>

View File

@ -139,6 +139,7 @@ $(function(){initNavTree('functions_func.html',''); initResizable(true); });
<h3><a id="index_d" name="index_d"></a>- d -</h3><ul>
<li>DataComponent()&#160;:&#160;<a class="el" href="classDataComponent.html#a1d9bc3a1c818e646be5d093119edeb01">DataComponent</a></li>
<li>destroy()&#160;:&#160;<a class="el" href="classEntity.html#a691dbe5f9ec930c27af2af0b97907a9e">Entity</a></li>
</ul>
@ -218,7 +219,7 @@ $(function(){initNavTree('functions_func.html',''); initResizable(true); });
<li>setEntry()&#160;:&#160;<a class="el" href="classDataComponent.html#a1dd53c6cb91e572090c2b6853881f8c9">DataComponent</a></li>
<li>setMusicVolume()&#160;:&#160;<a class="el" href="classSoundManager.html#ac5ad38c2322c75ba5481c60c4c26e0e8">SoundManager</a></li>
<li>setSoundVolume()&#160;:&#160;<a class="el" href="classSoundManager.html#af99aee751f8300ba4041af004a97d319">SoundManager</a></li>
<li>SpriteComponent()&#160;:&#160;<a class="el" href="classSpriteComponent.html#af767b0da914fc583613626ac58505d58">SpriteComponent</a></li>
<li>SpriteComponent()&#160;:&#160;<a class="el" href="classSpriteComponent.html#a986be57e30c06ed8df1479394d185563">SpriteComponent</a></li>
</ul>

View File

@ -122,6 +122,7 @@ $(function(){initNavTree('functions_vars.html',''); initResizable(true); });
<div class="textblock">Here is a list of all documented variables with links to the class documentation for each member:</div><ul>
<li>actor&#160;:&#160;<a class="el" href="structInteractionEventdataStruct.html#a37aa07113eed65f8f5c19634092f1810">InteractionEventdataStruct</a></li>
<li>data&#160;:&#160;<a class="el" href="structInteractionEventdataStruct.html#a82dc8bba3309e5aca77629c8fd192fbc">InteractionEventdataStruct</a></li>
<li>direction&#160;:&#160;<a class="el" href="classTransformComponent.html#a39e31f729aeb4da883a135c66354124f">TransformComponent</a></li>
<li>duration&#160;:&#160;<a class="el" href="structStatEffect.html#af1f5099f0680329ff9ce3a9362391196">StatEffect</a></li>
<li>resetFunction&#160;:&#160;<a class="el" href="structStatEffect.html#aca6d477c75029a2575d2e0a4f5794a43">StatEffect</a></li>
<li>strategy&#160;:&#160;<a class="el" href="structInteractionEventdataStruct.html#aad4922791175a51c55987ecedba335c4">InteractionEventdataStruct</a></li>

View File

@ -124,18 +124,25 @@ $(function(){initNavTree('index.html',''); initResizable(true); });
<div class="contents">
<div class="textblock"><p><a class="anchor" id="md_docs_2md-pages_2main"></a></p>
<p>Here you will (hopefully) find any information necessary to use the different classes and components of this engine to develop your own simple 2D games.</p>
<p>If you are using this library for the first time it is recommended you follow the following sections step by step.</p>
<p>Alternatively you could also just look at the code in the templates include and src folders and look at the example implementations there. The best place to start is <code>GameImplementation.h</code> and <code>GameImplementation.cpp</code>. All .cpp files have an associated .h file, please always start in the .h file with the same name as the .cpp file, otherwise you might get confused at some of the inline explanations provided in the files.</p>
<p>The base functionality can be split into a few major sections:</p><ol type="1">
<dl class="section note"><dt>Note</dt><dd>When navigating this documentation click on hyperlinks if you ever feel like information is missing (there is usually more information available in the detailed view only visible if you click it or scroll far enough)</dd></dl>
<p>The base functionality can be split into a few major sections: </p>
<h2><a class="anchor" id="autotoc_md22"></a>
Setup and Config</h2>
<ol type="1">
<li><a class="el" href="md_docs_2md-pages_2quickstart.html">Quickstart guide for setting up the library</a></li>
<li><a class="el" href="md_docs_2md-pages_2config.html">Configuring game settings</a></li>
<li><a class="el" href="md_docs_2md-pages_2tilemaps.html">Building a map using Tiled and tmx and loading it</a> </li>
</ol>
<h2><a class="anchor" id="autotoc_md23"></a>
Implementation of Features</h2>
<ol type="1">
<li><a class="el" href="md_docs_2md-pages_2entitiesAndComponents.html">Entities and Components</a></li>
<li><a class="el" href="md_docs_2md-pages_2inputhandling.html">Input Management</a></li>
<li><a class="el" href="md_docs_2md-pages_2eventhandling.html">Eventhandling</a></li>
</ol>
<p>You can also of course just browse the classes on your own this just act as a more structured separation and docuementation of relevant features</p>
<p><b>DISCLAIMER: EVERYTHING IN THE GIVEN TEMPLATE CODE IS OPTIONAL EVERYTHING FOUND IN THERE IS JUST A GUIDE AND CAN BE CHANGED AND/OR DELETED WITHOUT A PROBLEM</b> </p>
<p>DISCLAIMER: EVERYTHING IN THE GIVEN TEMPLATE CODE IS OPTIONAL EVERYTHING FOUND IN THERE IS JUST A GUIDE AND CAN BE CHANGED AND/OR DELETED WITHOUT A PROBLEM </p>
</div></div><!-- PageDoc -->
<a href="doxygen_crawl.html"></a>
</div><!-- contents -->

View File

@ -125,43 +125,42 @@ $(function(){initNavTree('md_docs_2md-pages_2entitiesAndComponents.html',''); in
<div class="textblock"><p><a class="anchor" id="autotoc_md2"></a></p>
<h1><a class="anchor" id="autotoc_md3"></a>
Entities</h1>
<p>In the scope of this library entities essentially function like empty containers that you can add components or properties to. So an entity can be whatever you want it to be, give it a texture, make it pickupable, give it collision or all of the above and more. Here is a quick overview over relevant classes containing functions pertaining to the creation and editing of entities:</p><ul>
<li><a class="el" href="classManager.html">Manager</a></li>
<li><a class="el" href="classEntity.html">Entity</a></li>
</ul>
<p>In the scope of this library entities essentially function like empty containers that you can add components or properties to. So an entity can be whatever you want it to be, give it a texture, make it pickupable, give it collision or all of the above and more. <a class="el" href="classManager.html">Manager</a> contains functions responsible for the creation and editing of entities:</p>
<p><b>If you are ever lost when looking for related functionality via search or side bar remember it is all neatly organized on this page for better readability and a better overview</b></p>
<h1><a class="anchor" id="autotoc_md4"></a>
Components</h1>
<p>The following components are currently available to you to use in your entities (the associated managers/handlers are also linked):</p>
<p>The following components are currently available for you to use in your entities (the associated managers/handlers are also linked):</p>
<hr />
<h2><a class="anchor" id="autotoc_md6"></a>
<a class="el" href="classColliderComponent.html">Collider Component</a></h2>
<p>see also <a class="el" href="classCollisionHandler.html">Collision Handler</a></p>
<p>Adds collision functionality to an <a class="el" href="classEntity.html" title="Main class for any object in game, stores associations, labeling and components.">Entity</a> meaning functionality can be assigned to happen when two Entities collision boxes intersect --&gt; this is used by the library, the developer themselves cannot (yet) add custom functionality to happen on collision unless the <a class="el" href="classCollisionHandler.html">Collision handler</a> itself is directly used. It is used to stop entities from running through tiles given the "collision" tag (see <a class="el" href="md_docs_2md-pages_2tilemaps.html">Tiled</a> section) and to enable picking up other entities.</p>
<a class="el" href="classTransformComponent.html">Transform Component</a></h2>
<p>The Transform Component manages the position and movement of an <a class="el" href="classEntity.html" title="Main class for any object in game, stores associations, labeling and components.">Entity</a>. Multiple overloaded constructors exist depending on whether or not the entity is stationary</p>
<hr />
<h2><a class="anchor" id="autotoc_md8"></a>
<a class="el" href="classDataComponent.html">Data Component</a></h2>
<p>Custom Data such as Stats can be added to an <a class="el" href="classEntity.html" title="Main class for any object in game, stores associations, labeling and components.">Entity</a> and accessed using this Component.</p>
<dl class="section important"><dt>Important</dt><dd>If an <a class="el" href="classEntity.html" title="Main class for any object in game, stores associations, labeling and components.">Entity</a> is supposed to have movement the stat "speed" has to be added and set to a positive int!</dd></dl>
<a class="el" href="classSpriteComponent.html">Sprite Component</a></h2>
<p><a class="el" href="classTextures.html" title="Forward declaration of the Textures enum class.">Textures</a> and Animations can be added via this component.</p>
<dl class="section important"><dt>Important</dt><dd>A <a class="el" href="classTransformComponent.html">Transform Component</a> is first needed before adding a Texture as the coordinates from the transform component are needed to tell the game where to render the texture</dd></dl>
<hr />
<h2><a class="anchor" id="autotoc_md10"></a>
<a class="el" href="classDataComponent.html">Data Component</a></h2>
<p>Custom Data such as Stats can be added to an <a class="el" href="classEntity.html" title="Main class for any object in game, stores associations, labeling and components.">Entity</a> and accessed using this Component.</p>
<dl class="section important"><dt>Important</dt><dd>If an <a class="el" href="classEntity.html" title="Main class for any object in game, stores associations, labeling and components.">Entity</a> is supposed to be able to move the stat "speed" has to be added and set to a positive int!</dd></dl>
<hr />
<h2><a class="anchor" id="autotoc_md12"></a>
<a class="el" href="classColliderComponent.html">Collider Component</a></h2>
<p>see also <a class="el" href="classCollisionHandler.html">Collision Handler</a></p>
<p>Adds collision functionality to an <a class="el" href="classEntity.html" title="Main class for any object in game, stores associations, labeling and components.">Entity</a>. It is used to stop entities with a PLAYER group label from running through tiles that were given the "collision" tag in the Tiled editor (see <a class="el" href="md_docs_2md-pages_2tilemaps.html">Tiled</a> section) or the COLLIDERS group label in the code.</p>
<p>Also enables "picking up" other entities via <a class="el" href="classPickupComponent.html">Pickup Component</a>.</p>
<hr />
<h2><a class="anchor" id="autotoc_md14"></a>
<a class="el" href="classInteractionComponent.html">Interaction Component</a></h2>
<p>see also <a class="el" href="structInteractionEventdataStruct.html">InteractionEventdataStruct</a></p>
<p>Adding this component to an entity tells it to react to triggered Interactions e.g. by button press. For this a custom lambda or function pointer is passed to determine what exactly should happen once an entities ineraction was triggered.</p>
<dl class="section note"><dt>Note</dt><dd>This component is only used to assign a functionality to an entity to be triggered when it is interacted with, to actually map a button to do something such as trigger an interaction refer to <a class="el" href="md_docs_2md-pages_2inputhandling.html">Input Management</a> and <a class="el" href="md_docs_2md-pages_2eventhandling.html">Eventhandling</a></dd></dl>
<hr />
<h2><a class="anchor" id="autotoc_md12"></a>
<h2><a class="anchor" id="autotoc_md16"></a>
<a class="el" href="classPickupComponent.html">Pickup Component</a></h2>
<p>see also <a class="el" href="classPickupManager.html">Pickup Manager</a></p>
<p>Entities with pickup components will disappear once another collision having entity with the <a class="el" href="classEntity.html#a9449a7a0ad2c9ae5ee85ef2401382f2b">Group Label</a> "Player" intersects with it and executes the custom functionality given to it via constructor.</p>
<hr />
<h2><a class="anchor" id="autotoc_md14"></a>
<a class="el" href="classTransformComponent.html">Transform Component</a></h2>
<p>The Transform Component manages the position and movement of an <a class="el" href="classEntity.html" title="Main class for any object in game, stores associations, labeling and components.">Entity</a>. Multiple overloaded constructors exist depending on whether or not the entity is stationary</p>
<hr />
<h2><a class="anchor" id="autotoc_md16"></a>
<a class="el" href="classSpriteComponent.html">Sprite Component</a></h2>
<p><a class="el" href="classTextures.html" title="Forward declaration of the Textures enum class.">Textures</a> and Animations can be added via this component.</p>
<dl class="section important"><dt>Important</dt><dd>A <a class="el" href="classTransformComponent.html">Transform Component</a> is first needed before adding a Texture as the coordinates from the transform component are needed to tell the game where to render the texture</dd></dl>
<hr />
<h2><a class="anchor" id="autotoc_md18"></a>
<a class="el" href="classStatEffectsComponent.html">Stat Effects Component</a></h2>

View File

@ -122,9 +122,9 @@ $(function(){initNavTree('md_docs_2md-pages_2quickstart.html',''); initResizable
<div class="headertitle"><div class="title">Quickstart guide for setting up the library</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p><a class="anchor" id="autotoc_md22"></a></p>
<div class="textblock"><p><a class="anchor" id="autotoc_md24"></a></p>
<p>This guide's purpose is to get developers from 0 to being able to create their game in the quickest and most uncomplicated way possible. Therefore it will only go over the bare minimum to get everything up and running for implementation guides check out the other sections on the welcome page.</p>
<h1><a class="anchor" id="autotoc_md23"></a>
<h1><a class="anchor" id="autotoc_md25"></a>
Installations and tools</h1>
<p>Go to the github repository and download the setup file for your OS (windows and linux supported). This file needs to be executed in the folder you want to start your project in which will start the initial setup. While you can also manually download all of the necessary tools, this setup file acts as a central automated executable to streamline and expedite the non-game development aspect of this process which is why it is highly recommended. The tools downloaded are:</p><ul>
<li>mingw(win)/gcc(linux)</li>

View File

@ -122,15 +122,15 @@ $(function(){initNavTree('md_docs_2md-pages_2tilemaps.html',''); initResizable(t
<div class="headertitle"><div class="title">Building a map using Tiled and tmx and loading it</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p><a class="anchor" id="autotoc_md24"></a></p>
<div class="textblock"><p><a class="anchor" id="autotoc_md26"></a></p>
<p>In order to create a map for your game the library has .tmx format support. In order to get .tmx files you use the associated tile editor "Tiled" which gets automatically downloaded when executing the VEGO libraries setup file (the installer is provided the installation itself must be finalized by the user). This section will walk you step by step through the creation of your first map/background using Tiled.</p>
<p>see also: <a href="https://doc.mapeditor.org/en/stable/manual/introduction/#getting-started">the official Tiled documentation</a></p>
<h2><a class="anchor" id="autotoc_md25"></a>
<h2><a class="anchor" id="autotoc_md27"></a>
Getting started</h2>
<p>After opening Tiled, select "New Map", a custom size measured in tiles and as tile size select 32x32 as this is the size the library currently supports. Also choose the size of your canvas, it is recommended you choose the same size as the one you defined in the <a class="el" href="md_docs_2md-pages_2config.html">games config</a> (default is 25w x 20h, measured in tiles, to get the pixel size just multiply by 32 as that is the tilesize the library uses)</p>
<p><img src="Tiled1.jpg" alt="" width="50%" class="inline"/> </p>
<p><img src="Tiled2.jpg" alt="" width="50%" class="inline"/> </p>
<h2><a class="anchor" id="autotoc_md26"></a>
<h2><a class="anchor" id="autotoc_md28"></a>
Create a New Tileset</h2>
<ol type="1">
<li>In the editor, go to the lower-right corner and select "New Tileset".</li>
@ -140,10 +140,10 @@ Create a New Tileset</h2>
<li>Leave the rest of the settings on default <img src="Tiled3.jpg" alt="" width="50%" class="inline"/> </li>
</ol>
<p><img src="Tiled4.jpg" alt="" width="50%" class="inline"/> </p>
<h2><a class="anchor" id="autotoc_md27"></a>
<h2><a class="anchor" id="autotoc_md29"></a>
Draw Your Environment</h2>
<p>Once imported, you can select tiles from the tileset and use them to build your environment.</p>
<h2><a class="anchor" id="autotoc_md28"></a>
<h2><a class="anchor" id="autotoc_md30"></a>
Understand Layers in Tiled</h2>
<p>Tiled allows you to use multiple layers for organizing your map.</p>
<p>You need to give your Layers seperate z-Indices to decide their rendering order, the lower the number the earlier it gets rendered. In order to do this:</p><ol type="1">
@ -159,7 +159,7 @@ Understand Layers in Tiled</h2>
<img src="Tiled5.jpg" alt="" width="50%"/>
</div>
<p><b>Important: Tiles that should have collision must be placed on a separate layer as custom properties are per layer not per tile.</b></p>
<h2><a class="anchor" id="autotoc_md29"></a>
<h2><a class="anchor" id="autotoc_md31"></a>
Set Up Collision</h2>
<p>To add collision to a layer:</p>
<ol type="1">
@ -175,13 +175,13 @@ Set Up Collision</h2>
<img src="Tiled5.jpg" alt="" width="50%"/>
</div>
<p>Any tile placed on this layer will now automatically have collision—meaning moving entities cannot pass through them.</p>
<h2><a class="anchor" id="autotoc_md30"></a>
<h2><a class="anchor" id="autotoc_md32"></a>
Saving your work</h2>
<p>After completeing your map, save it in the asset folder of the library (or any place really the asset folder just exists as a recommendation to easily find all of your maps and textures)</p>
<div class="image">
<img src="Tiled6.jpg" alt="" width="50%"/>
</div>
<h2><a class="anchor" id="autotoc_md31"></a>
<h2><a class="anchor" id="autotoc_md33"></a>
Loading your work into the game</h2>
<p>The map gets loaded into the game in <code>GameImplementation.cpp</code>, simply add the path of the map .tmx file to the <a class="el" href="classMap.html">Map</a> constructor </p>
</div></div><!-- contents -->

View File

@ -30,19 +30,19 @@ var NAVTREE =
[ "Entities and Components", "md_docs_2md-pages_2entitiesAndComponents.html", [
[ "Entities", "md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md3", null ],
[ "Components", "md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md4", [
[ "Collider Component", "md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md6", null ],
[ "Data Component", "md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md8", null ],
[ "Interaction Component", "md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md10", null ],
[ "Pickup Component", "md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md12", null ],
[ "Transform Component", "md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md14", null ],
[ "Sprite Component", "md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md16", null ],
[ "Transform Component", "md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md6", null ],
[ "Sprite Component", "md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md8", null ],
[ "Data Component", "md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md10", null ],
[ "Collider Component", "md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md12", null ],
[ "Interaction Component", "md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md14", null ],
[ "Pickup Component", "md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md16", null ],
[ "Stat Effects Component", "md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md18", null ]
] ]
] ],
[ "Interactions", "md_docs_2md-pages_2eventhandling.html", null ],
[ "Input Management", "md_docs_2md-pages_2inputhandling.html", null ],
[ "Quickstart guide for setting up the library", "md_docs_2md-pages_2quickstart.html", [
[ "Installations and tools", "md_docs_2md-pages_2quickstart.html#autotoc_md23", null ]
[ "Installations and tools", "md_docs_2md-pages_2quickstart.html#autotoc_md25", null ]
] ],
[ "Building a map using Tiled and tmx and loading it", "md_docs_2md-pages_2tilemaps.html", null ],
[ "Todo List", "todo.html", null ],

View File

@ -62,8 +62,9 @@ var NAVTREEINDEX0 =
"classCollisionHandler.html#aca14b15166c3bfbf26e9ff5a8895acd9":[9,0,2,3],
"classConfigLoader.html":[9,0,3],
"classDataComponent.html":[9,0,4],
"classDataComponent.html#a1dd53c6cb91e572090c2b6853881f8c9":[9,0,4,1],
"classDataComponent.html#a6e71b0bec578a208eb716676e3ccf667":[9,0,4,0],
"classDataComponent.html#a1d9bc3a1c818e646be5d093119edeb01":[9,0,4,0],
"classDataComponent.html#a1dd53c6cb91e572090c2b6853881f8c9":[9,0,4,2],
"classDataComponent.html#a6e71b0bec578a208eb716676e3ccf667":[9,0,4,1],
"classEntity.html":[9,0,5],
"classEntity.html#a691dbe5f9ec930c27af2af0b97907a9e":[9,0,5,3],
"classEntity.html#a9449a7a0ad2c9ae5ee85ef2401382f2b":[9,0,5,0],
@ -116,11 +117,10 @@ var NAVTREEINDEX0 =
"classSoundManager.html#aea6a94c8b5456812c49115baa7534bf7":[9,0,13,2],
"classSoundManager.html#af99aee751f8300ba4041af004a97d319":[9,0,13,10],
"classSpriteComponent.html":[9,0,14],
"classSpriteComponent.html#a2c2b0ac3fc6418bb475d257597905e66":[9,0,14,1],
"classSpriteComponent.html#a2c60f55924b1d18b9e6fb530b5c5346a":[9,0,14,3],
"classSpriteComponent.html#a5987774516010e021703a02a37d0509b":[9,0,14,2],
"classSpriteComponent.html#aa4ebb6763d8b994f412dec66ecf58c59":[9,0,14,4],
"classSpriteComponent.html#af767b0da914fc583613626ac58505d58":[9,0,14,0],
"classSpriteComponent.html#a2c60f55924b1d18b9e6fb530b5c5346a":[9,0,14,2],
"classSpriteComponent.html#a776a161c30dbfd0f7dc7d42d477b45bb":[9,0,14,1],
"classSpriteComponent.html#a986be57e30c06ed8df1479394d185563":[9,0,14,0],
"classSpriteComponent.html#aa4ebb6763d8b994f412dec66ecf58c59":[9,0,14,3],
"classStatEffectsComponent.html":[9,0,16],
"classStatEffectsComponent.html#a2d5edffc1abd620d39aa0315a1504b13":[9,0,16,0],
"classTextureManager.html":[9,0,17],
@ -130,6 +130,7 @@ var NAVTREEINDEX0 =
"classTextureManager.html#ac2bf6f97639eee824c45266472430ee0":[9,0,17,2],
"classTextures.html":[9,0,18],
"classTransformComponent.html":[9,0,19],
"classTransformComponent.html#a39e31f729aeb4da883a135c66354124f":[9,0,19,3],
"classTransformComponent.html#a636369521f092e7dc3f8dd34b8f8c68d":[9,0,19,0],
"classTransformComponent.html#aa6c585faf233543172f739fb306e6c74":[9,0,19,2],
"classTransformComponent.html#af69e09cf21f97b258bf9ab4aecb096d9":[9,0,19,1],
@ -158,7 +159,7 @@ var NAVTREEINDEX0 =
"md_docs_2md-pages_2eventhandling.html":[3],
"md_docs_2md-pages_2inputhandling.html":[4],
"md_docs_2md-pages_2quickstart.html":[5],
"md_docs_2md-pages_2quickstart.html#autotoc_md23":[5,0],
"md_docs_2md-pages_2quickstart.html#autotoc_md25":[5,0],
"md_docs_2md-pages_2tilemaps.html":[6],
"pages.html":[],
"structAnimation.html":[9,0,0],

View File

@ -1,7 +1,7 @@
var searchData=
[
['a_20map_20using_20tiled_20and_20tmx_20and_20loading_20it_0',['Building a map using Tiled and tmx and loading it',['../md_docs_2md-pages_2tilemaps.html',1,'']]],
['a_20new_20tileset_1',['Create a New Tileset',['../md_docs_2md-pages_2tilemaps.html#autotoc_md26',1,'']]],
['a_20new_20tileset_1',['Create a New Tileset',['../md_docs_2md-pages_2tilemaps.html#autotoc_md28',1,'']]],
['actor_2',['actor',['../structInteractionEventdataStruct.html#a37aa07113eed65f8f5c19634092f1810',1,'InteractionEventdataStruct']]],
['addbackgroundmusic_3',['addBackgroundMusic',['../classSoundManager.html#a8717fc6cbf4cc3e863eda97deacad007',1,'SoundManager']]],
['addcomponent_4',['addComponent',['../classEntity.html#ae587a44fd803d7918a45dbfe531c962d',1,'Entity']]],
@ -11,9 +11,10 @@ var searchData=
['addsoundeffects_8',['addSoundEffects',['../classSoundManager.html#a552795938033c602a28162fec202d20c',1,'SoundManager']]],
['addtextures_9',['addTextures',['../classTextureManager.html#a8090211c196974905fd8a907829930f2',1,'TextureManager']]],
['and_20components_10',['Entities and Components',['../md_docs_2md-pages_2entitiesAndComponents.html',1,'']]],
['and_20loading_20it_11',['Building a map using Tiled and tmx and loading it',['../md_docs_2md-pages_2tilemaps.html',1,'']]],
['and_20tmx_20and_20loading_20it_12',['Building a map using Tiled and tmx and loading it',['../md_docs_2md-pages_2tilemaps.html',1,'']]],
['and_20tools_13',['Installations and tools',['../md_docs_2md-pages_2quickstart.html#autotoc_md23',1,'']]],
['animation_14',['Animation',['../structAnimation.html',1,'']]],
['animation_3a_15',['How to spritesheet animation:',['../classSpriteComponent.html#autotoc_md0',1,'']]]
['and_20config_11',['Setup and Config',['../index.html#autotoc_md22',1,'']]],
['and_20loading_20it_12',['Building a map using Tiled and tmx and loading it',['../md_docs_2md-pages_2tilemaps.html',1,'']]],
['and_20tmx_20and_20loading_20it_13',['Building a map using Tiled and tmx and loading it',['../md_docs_2md-pages_2tilemaps.html',1,'']]],
['and_20tools_14',['Installations and tools',['../md_docs_2md-pages_2quickstart.html#autotoc_md25',1,'']]],
['animation_15',['Animation',['../structAnimation.html',1,'']]],
['animation_3a_16',['How to spritesheet animation:',['../classSpriteComponent.html#autotoc_md0',1,'']]]
];

View File

@ -1,21 +1,16 @@
var searchData=
[
['saving_20your_20work_0',['Saving your work',['../md_docs_2md-pages_2tilemaps.html#autotoc_md30',1,'']]],
['set_20up_20collision_1',['Set Up Collision',['../md_docs_2md-pages_2tilemaps.html#autotoc_md29',1,'']]],
['setactivecontext_2',['setActiveContext',['../classInputManager.html#a6020878de8bb7046055cc40312e221e6',1,'InputManager']]],
['setentry_3',['setEntry',['../classDataComponent.html#a1dd53c6cb91e572090c2b6853881f8c9',1,'DataComponent']]],
['setmusicvolume_4',['setMusicVolume',['../classSoundManager.html#ac5ad38c2322c75ba5481c60c4c26e0e8',1,'SoundManager']]],
['setsoundvolume_5',['setSoundVolume',['../classSoundManager.html#af99aee751f8300ba4041af004a97d319',1,'SoundManager']]],
['setting_20up_20the_20library_6',['Quickstart guide for setting up the library',['../md_docs_2md-pages_2quickstart.html',1,'']]],
['soundmanager_7',['SoundManager',['../classSoundManager.html',1,'']]],
['sprite_20component_8',['@ref SpriteComponent &quot;Sprite Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md16',1,'']]],
['spritecomponent_9',['SpriteComponent',['../classSpriteComponent.html',1,'SpriteComponent'],['../classSpriteComponent.html#af767b0da914fc583613626ac58505d58',1,'SpriteComponent::SpriteComponent(Textures texture, int zIndex)'],['../classSpriteComponent.html#a2c2b0ac3fc6418bb475d257597905e66',1,'SpriteComponent::SpriteComponent(Textures texture, int xOffset, int yOffset, int zIndex)'],['../classSpriteComponent.html#a5987774516010e021703a02a37d0509b',1,'SpriteComponent::SpriteComponent(const char *path, int xOffset, int yOffset, int zIndex)'],['../classSpriteComponent.html#a2c60f55924b1d18b9e6fb530b5c5346a',1,'SpriteComponent::SpriteComponent(Textures texture, bool isAnimated, std::map&lt; std::string, std::unique_ptr&lt; Animation &gt; &gt; *animationList, std::string defaultAnimation, int zIndex, int xOffset=0, int yOffset=0)']]],
['spritecomponent_20sprite_20component_10',['@ref SpriteComponent &quot;Sprite Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md16',1,'']]],
['spritesheet_20animation_3a_11',['How to spritesheet animation:',['../classSpriteComponent.html#autotoc_md0',1,'']]],
['started_12',['Getting started',['../md_docs_2md-pages_2tilemaps.html#autotoc_md25',1,'']]],
['stat_20effects_20component_13',['@ref StatEffectsComponent &quot;Stat Effects Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md18',1,'']]],
['stateffect_14',['StatEffect',['../structStatEffect.html',1,'']]],
['stateffectscomponent_15',['StatEffectsComponent',['../classStatEffectsComponent.html',1,'']]],
['stateffectscomponent_20stat_20effects_20component_16',['@ref StatEffectsComponent &quot;Stat Effects Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md18',1,'']]],
['strategy_17',['strategy',['../structInteractionEventdataStruct.html#aad4922791175a51c55987ecedba335c4',1,'InteractionEventdataStruct']]]
['ref_20collidercomponent_20collider_20component_0',['@ref ColliderComponent &quot;Collider Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md12',1,'']]],
['ref_20datacomponent_20data_20component_1',['@ref DataComponent &quot;Data Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md10',1,'']]],
['ref_20interactioncomponent_20interaction_20component_2',['@ref InteractionComponent &quot;Interaction Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md14',1,'']]],
['ref_20pickupcomponent_20pickup_20component_3',['@ref PickupComponent &quot;Pickup Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md16',1,'']]],
['ref_20spritecomponent_20sprite_20component_4',['@ref SpriteComponent &quot;Sprite Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md8',1,'']]],
['ref_20stateffectscomponent_20stat_20effects_20component_5',['@ref StatEffectsComponent &quot;Stat Effects Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md18',1,'']]],
['ref_20transformcomponent_20transform_20component_6',['@ref TransformComponent &quot;Transform Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md6',1,'']]],
['refresh_7',['refresh',['../classManager.html#adc5c66704fd1b0a9b9d38de8fdcb3748',1,'Manager']]],
['registeraction_8',['registerAction',['../classInputManager.html#afee4ab4cebfdac2fe08cd01e1a1c1620',1,'InputManager']]],
['removecollision_9',['removeCollision',['../classColliderComponent.html#a6ac04cfb252c5712d53aaa30603165e3',1,'ColliderComponent']]],
['resetfunction_10',['resetFunction',['../structStatEffect.html#aca6d477c75029a2575d2e0a4f5794a43',1,'StatEffect']]],
['restartmusic_11',['restartMusic',['../classSoundManager.html#aaca970232ead83c6c107331f3d9ee0db',1,'SoundManager']]],
['restartsound_12',['restartSound',['../classSoundManager.html#ac24dc06983603020f6556273d3c78df3',1,'SoundManager']]]
];

View File

@ -1,22 +1,22 @@
var searchData=
[
['target_0',['target',['../structInteractionEventdataStruct.html#a2244f55fa7cff63d586d46d28d8a6ef3',1,'InteractionEventdataStruct']]],
['targetingreference_1',['targetingReference',['../structInteractionEventdataStruct.html#a49f1d3c0d48b7b26af7fba98ec53b402',1,'InteractionEventdataStruct']]],
['texturemanager_2',['TextureManager',['../classTextureManager.html',1,'']]],
['textures_3',['Textures',['../classTextures.html',1,'']]],
['the_20game_4',['the game',['../md_docs_2md-pages_2config.html',1,'Configuring the game'],['../md_docs_2md-pages_2tilemaps.html#autotoc_md31',1,'Loading your work into the game']]],
['the_20library_5',['Quickstart guide for setting up the library',['../md_docs_2md-pages_2quickstart.html',1,'']]],
['the_20vego_20library_20documentation_6',['Welcome to the VEGO library documentation',['../index.html',1,'']]],
['tiled_7',['Understand Layers in Tiled',['../md_docs_2md-pages_2tilemaps.html#autotoc_md28',1,'']]],
['tiled_20and_20tmx_20and_20loading_20it_8',['Building a map using Tiled and tmx and loading it',['../md_docs_2md-pages_2tilemaps.html',1,'']]],
['tileset_9',['Create a New Tileset',['../md_docs_2md-pages_2tilemaps.html#autotoc_md26',1,'']]],
['tmx_20and_20loading_20it_10',['Building a map using Tiled and tmx and loading it',['../md_docs_2md-pages_2tilemaps.html',1,'']]],
['to_20spritesheet_20animation_3a_11',['How to spritesheet animation:',['../classSpriteComponent.html#autotoc_md0',1,'']]],
['to_20the_20vego_20library_20documentation_12',['Welcome to the VEGO library documentation',['../index.html',1,'']]],
['todo_20list_13',['Todo List',['../todo.html',1,'']]],
['tools_14',['Installations and tools',['../md_docs_2md-pages_2quickstart.html#autotoc_md23',1,'']]],
['transform_20component_15',['@ref TransformComponent &quot;Transform Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md14',1,'']]],
['transformcomponent_16',['TransformComponent',['../classTransformComponent.html',1,'TransformComponent'],['../classTransformComponent.html#a636369521f092e7dc3f8dd34b8f8c68d',1,'TransformComponent::TransformComponent(float scale=1)'],['../classTransformComponent.html#af69e09cf21f97b258bf9ab4aecb096d9',1,'TransformComponent::TransformComponent(float x, float y, float scale=1)'],['../classTransformComponent.html#aa6c585faf233543172f739fb306e6c74',1,'TransformComponent::TransformComponent(float x, float y, int w, int h, float scale=1)']]],
['transformcomponent_20transform_20component_17',['@ref TransformComponent &quot;Transform Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md14',1,'']]],
['transformcomponent_2ecpp_18',['TransformComponent.cpp',['../TransformComponent_8cpp.html',1,'']]]
['saving_20your_20work_0',['Saving your work',['../md_docs_2md-pages_2tilemaps.html#autotoc_md32',1,'']]],
['set_20up_20collision_1',['Set Up Collision',['../md_docs_2md-pages_2tilemaps.html#autotoc_md31',1,'']]],
['setactivecontext_2',['setActiveContext',['../classInputManager.html#a6020878de8bb7046055cc40312e221e6',1,'InputManager']]],
['setentry_3',['setEntry',['../classDataComponent.html#a1dd53c6cb91e572090c2b6853881f8c9',1,'DataComponent']]],
['setmusicvolume_4',['setMusicVolume',['../classSoundManager.html#ac5ad38c2322c75ba5481c60c4c26e0e8',1,'SoundManager']]],
['setsoundvolume_5',['setSoundVolume',['../classSoundManager.html#af99aee751f8300ba4041af004a97d319',1,'SoundManager']]],
['setting_20up_20the_20library_6',['Quickstart guide for setting up the library',['../md_docs_2md-pages_2quickstart.html',1,'']]],
['setup_20and_20config_7',['Setup and Config',['../index.html#autotoc_md22',1,'']]],
['soundmanager_8',['SoundManager',['../classSoundManager.html',1,'']]],
['sprite_20component_9',['@ref SpriteComponent &quot;Sprite Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md8',1,'']]],
['spritecomponent_10',['SpriteComponent',['../classSpriteComponent.html',1,'SpriteComponent'],['../classSpriteComponent.html#a986be57e30c06ed8df1479394d185563',1,'SpriteComponent::SpriteComponent(Textures texture, int zIndex, int xOffset=0, int yOffset=0)'],['../classSpriteComponent.html#a776a161c30dbfd0f7dc7d42d477b45bb',1,'SpriteComponent::SpriteComponent(const char *path, int zIndex, int xOffset=0, int yOffset=0)'],['../classSpriteComponent.html#a2c60f55924b1d18b9e6fb530b5c5346a',1,'SpriteComponent::SpriteComponent(Textures texture, bool isAnimated, std::map&lt; std::string, std::unique_ptr&lt; Animation &gt; &gt; *animationList, std::string defaultAnimation, int zIndex, int xOffset=0, int yOffset=0)']]],
['spritecomponent_20sprite_20component_11',['@ref SpriteComponent &quot;Sprite Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md8',1,'']]],
['spritesheet_20animation_3a_12',['How to spritesheet animation:',['../classSpriteComponent.html#autotoc_md0',1,'']]],
['started_13',['Getting started',['../md_docs_2md-pages_2tilemaps.html#autotoc_md27',1,'']]],
['stat_20effects_20component_14',['@ref StatEffectsComponent &quot;Stat Effects Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md18',1,'']]],
['stateffect_15',['StatEffect',['../structStatEffect.html',1,'']]],
['stateffectscomponent_16',['StatEffectsComponent',['../classStatEffectsComponent.html',1,'']]],
['stateffectscomponent_20stat_20effects_20component_17',['@ref StatEffectsComponent &quot;Stat Effects Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md18',1,'']]],
['strategy_18',['strategy',['../structInteractionEventdataStruct.html#aad4922791175a51c55987ecedba335c4',1,'InteractionEventdataStruct']]]
];

View File

@ -1,8 +1,22 @@
var searchData=
[
['understand_20layers_20in_20tiled_0',['Understand Layers in Tiled',['../md_docs_2md-pages_2tilemaps.html#autotoc_md28',1,'']]],
['up_20collision_1',['Set Up Collision',['../md_docs_2md-pages_2tilemaps.html#autotoc_md29',1,'']]],
['up_20the_20library_2',['Quickstart guide for setting up the library',['../md_docs_2md-pages_2quickstart.html',1,'']]],
['update_3',['update',['../classEntity.html#af4415c165338eed191ee0cddf550732b',1,'Entity::update()'],['../classManager.html#ab76ac7deabcf2a203a227c228c27c02b',1,'Manager::update()']]],
['using_20tiled_20and_20tmx_20and_20loading_20it_4',['Building a map using Tiled and tmx and loading it',['../md_docs_2md-pages_2tilemaps.html',1,'']]]
['target_0',['target',['../structInteractionEventdataStruct.html#a2244f55fa7cff63d586d46d28d8a6ef3',1,'InteractionEventdataStruct']]],
['targetingreference_1',['targetingReference',['../structInteractionEventdataStruct.html#a49f1d3c0d48b7b26af7fba98ec53b402',1,'InteractionEventdataStruct']]],
['texturemanager_2',['TextureManager',['../classTextureManager.html',1,'']]],
['textures_3',['Textures',['../classTextures.html',1,'']]],
['the_20game_4',['the game',['../md_docs_2md-pages_2config.html',1,'Configuring the game'],['../md_docs_2md-pages_2tilemaps.html#autotoc_md33',1,'Loading your work into the game']]],
['the_20library_5',['Quickstart guide for setting up the library',['../md_docs_2md-pages_2quickstart.html',1,'']]],
['the_20vego_20library_20documentation_6',['Welcome to the VEGO library documentation',['../index.html',1,'']]],
['tiled_7',['Understand Layers in Tiled',['../md_docs_2md-pages_2tilemaps.html#autotoc_md30',1,'']]],
['tiled_20and_20tmx_20and_20loading_20it_8',['Building a map using Tiled and tmx and loading it',['../md_docs_2md-pages_2tilemaps.html',1,'']]],
['tileset_9',['Create a New Tileset',['../md_docs_2md-pages_2tilemaps.html#autotoc_md28',1,'']]],
['tmx_20and_20loading_20it_10',['Building a map using Tiled and tmx and loading it',['../md_docs_2md-pages_2tilemaps.html',1,'']]],
['to_20spritesheet_20animation_3a_11',['How to spritesheet animation:',['../classSpriteComponent.html#autotoc_md0',1,'']]],
['to_20the_20vego_20library_20documentation_12',['Welcome to the VEGO library documentation',['../index.html',1,'']]],
['todo_20list_13',['Todo List',['../todo.html',1,'']]],
['tools_14',['Installations and tools',['../md_docs_2md-pages_2quickstart.html#autotoc_md25',1,'']]],
['transform_20component_15',['@ref TransformComponent &quot;Transform Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md6',1,'']]],
['transformcomponent_16',['TransformComponent',['../classTransformComponent.html',1,'TransformComponent'],['../classTransformComponent.html#a636369521f092e7dc3f8dd34b8f8c68d',1,'TransformComponent::TransformComponent(float scale=1)'],['../classTransformComponent.html#af69e09cf21f97b258bf9ab4aecb096d9',1,'TransformComponent::TransformComponent(float x, float y, float scale=1)'],['../classTransformComponent.html#aa6c585faf233543172f739fb306e6c74',1,'TransformComponent::TransformComponent(float x, float y, int w, int h, float scale=1)']]],
['transformcomponent_20transform_20component_17',['@ref TransformComponent &quot;Transform Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md6',1,'']]],
['transformcomponent_2ecpp_18',['TransformComponent.cpp',['../TransformComponent_8cpp.html',1,'']]]
];

View File

@ -1,4 +1,8 @@
var searchData=
[
['vego_20library_20documentation_0',['Welcome to the VEGO library documentation',['../index.html',1,'']]]
['understand_20layers_20in_20tiled_0',['Understand Layers in Tiled',['../md_docs_2md-pages_2tilemaps.html#autotoc_md30',1,'']]],
['up_20collision_1',['Set Up Collision',['../md_docs_2md-pages_2tilemaps.html#autotoc_md31',1,'']]],
['up_20the_20library_2',['Quickstart guide for setting up the library',['../md_docs_2md-pages_2quickstart.html',1,'']]],
['update_3',['update',['../classEntity.html#af4415c165338eed191ee0cddf550732b',1,'Entity::update()'],['../classManager.html#ab76ac7deabcf2a203a227c228c27c02b',1,'Manager::update()']]],
['using_20tiled_20and_20tmx_20and_20loading_20it_4',['Building a map using Tiled and tmx and loading it',['../md_docs_2md-pages_2tilemaps.html',1,'']]]
];

View File

@ -1,6 +1,4 @@
var searchData=
[
['welcome_20to_20the_20vego_20library_20documentation_0',['Welcome to the VEGO library documentation',['../index.html',1,'']]],
['work_1',['Saving your work',['../md_docs_2md-pages_2tilemaps.html#autotoc_md30',1,'']]],
['work_20into_20the_20game_2',['Loading your work into the game',['../md_docs_2md-pages_2tilemaps.html#autotoc_md31',1,'']]]
['vego_20library_20documentation_0',['Welcome to the VEGO library documentation',['../index.html',1,'']]]
];

View File

@ -1,6 +1,6 @@
var searchData=
[
['your_20environment_0',['Draw Your Environment',['../md_docs_2md-pages_2tilemaps.html#autotoc_md27',1,'']]],
['your_20work_1',['Saving your work',['../md_docs_2md-pages_2tilemaps.html#autotoc_md30',1,'']]],
['your_20work_20into_20the_20game_2',['Loading your work into the game',['../md_docs_2md-pages_2tilemaps.html#autotoc_md31',1,'']]]
['welcome_20to_20the_20vego_20library_20documentation_0',['Welcome to the VEGO library documentation',['../index.html',1,'']]],
['work_1',['Saving your work',['../md_docs_2md-pages_2tilemaps.html#autotoc_md32',1,'']]],
['work_20into_20the_20game_2',['Loading your work into the game',['../md_docs_2md-pages_2tilemaps.html#autotoc_md33',1,'']]]
];

View File

@ -1,4 +1,6 @@
var searchData=
[
['zindexcomparator_0',['ZIndexComparator',['../structRenderObject_1_1ZIndexComparator.html',1,'RenderObject']]]
['your_20environment_0',['Draw Your Environment',['../md_docs_2md-pages_2tilemaps.html#autotoc_md29',1,'']]],
['your_20work_1',['Saving your work',['../md_docs_2md-pages_2tilemaps.html#autotoc_md32',1,'']]],
['your_20work_20into_20the_20game_2',['Loading your work into the game',['../md_docs_2md-pages_2tilemaps.html#autotoc_md33',1,'']]]
];

4
search/all_17.js Normal file
View File

@ -0,0 +1,4 @@
var searchData=
[
['zindexcomparator_0',['ZIndexComparator',['../structRenderObject_1_1ZIndexComparator.html',1,'RenderObject']]]
];

View File

@ -1,17 +1,18 @@
var searchData=
[
['collider_20component_0',['@ref ColliderComponent &quot;Collider Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md6',1,'']]],
['collider_20component_0',['@ref ColliderComponent &quot;Collider Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md12',1,'']]],
['collidercomponent_1',['ColliderComponent',['../classColliderComponent.html',1,'ColliderComponent'],['../classColliderComponent.html#ab2b8fbba2f80f7b9bbf70504f8c3c670',1,'ColliderComponent::ColliderComponent(const char *tag)'],['../classColliderComponent.html#a29b7a4326327382ec473730a07f57b9a',1,'ColliderComponent::ColliderComponent(const char *tag, float hitboxScale)']]],
['collidercomponent_20collider_20component_2',['@ref ColliderComponent &quot;Collider Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md6',1,'']]],
['collidercomponent_20collider_20component_2',['@ref ColliderComponent &quot;Collider Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md12',1,'']]],
['colliders_3',['COLLIDERS',['../classEntity.html#a9449a7a0ad2c9ae5ee85ef2401382f2badffa23e89f914b343e7811b01a8f756c',1,'Entity']]],
['collision_4',['Set Up Collision',['../md_docs_2md-pages_2tilemaps.html#autotoc_md29',1,'']]],
['collision_4',['Set Up Collision',['../md_docs_2md-pages_2tilemaps.html#autotoc_md31',1,'']]],
['collisionhandler_5',['CollisionHandler',['../classCollisionHandler.html',1,'']]],
['collisionhandler_2ecpp_6',['CollisionHandler.cpp',['../CollisionHandler_8cpp.html',1,'']]],
['collisionhandler_2eh_7',['CollisionHandler.h',['../CollisionHandler_8h.html',1,'']]],
['component_8',['Component',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md6',1,'@ref ColliderComponent &quot;Collider Component&quot;'],['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md8',1,'@ref DataComponent &quot;Data Component&quot;'],['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md10',1,'@ref InteractionComponent &quot;Interaction Component&quot;'],['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md12',1,'@ref PickupComponent &quot;Pickup Component&quot;'],['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md16',1,'@ref SpriteComponent &quot;Sprite Component&quot;'],['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md18',1,'@ref StatEffectsComponent &quot;Stat Effects Component&quot;'],['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md14',1,'@ref TransformComponent &quot;Transform Component&quot;']]],
['component_8',['Component',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md12',1,'@ref ColliderComponent &quot;Collider Component&quot;'],['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md10',1,'@ref DataComponent &quot;Data Component&quot;'],['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md14',1,'@ref InteractionComponent &quot;Interaction Component&quot;'],['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md16',1,'@ref PickupComponent &quot;Pickup Component&quot;'],['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md8',1,'@ref SpriteComponent &quot;Sprite Component&quot;'],['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md18',1,'@ref StatEffectsComponent &quot;Stat Effects Component&quot;'],['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md6',1,'@ref TransformComponent &quot;Transform Component&quot;']]],
['components_9',['Components',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md4',1,'Components'],['../md_docs_2md-pages_2entitiesAndComponents.html',1,'Entities and Components']]],
['configloader_10',['ConfigLoader',['../classConfigLoader.html',1,'']]],
['configuring_20the_20game_11',['Configuring the game',['../md_docs_2md-pages_2config.html',1,'']]],
['create_20a_20new_20tileset_12',['Create a New Tileset',['../md_docs_2md-pages_2tilemaps.html#autotoc_md26',1,'']]],
['createpickupable_13',['createPickupable',['../classPickupManager.html#a9e9fab0945ccd93749351e40a926c7d7',1,'PickupManager']]]
['config_10',['Setup and Config',['../index.html#autotoc_md22',1,'']]],
['configloader_11',['ConfigLoader',['../classConfigLoader.html',1,'']]],
['configuring_20the_20game_12',['Configuring the game',['../md_docs_2md-pages_2config.html',1,'']]],
['create_20a_20new_20tileset_13',['Create a New Tileset',['../md_docs_2md-pages_2tilemaps.html#autotoc_md28',1,'']]],
['createpickupable_14',['createPickupable',['../classPickupManager.html#a9e9fab0945ccd93749351e40a926c7d7',1,'PickupManager']]]
];

View File

@ -1,12 +1,13 @@
var searchData=
[
['data_0',['data',['../structInteractionEventdataStruct.html#a82dc8bba3309e5aca77629c8fd192fbc',1,'InteractionEventdataStruct']]],
['data_20component_1',['@ref DataComponent &quot;Data Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md8',1,'']]],
['datacomponent_2',['DataComponent',['../classDataComponent.html',1,'']]],
['datacomponent_20data_20component_3',['@ref DataComponent &quot;Data Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md8',1,'']]],
['data_20component_1',['@ref DataComponent &quot;Data Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md10',1,'']]],
['datacomponent_2',['DataComponent',['../classDataComponent.html',1,'DataComponent'],['../classDataComponent.html#a1d9bc3a1c818e646be5d093119edeb01',1,'DataComponent::DataComponent()']]],
['datacomponent_20data_20component_3',['@ref DataComponent &quot;Data Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md10',1,'']]],
['deprecated_20list_4',['Deprecated List',['../deprecated.html',1,'']]],
['destroy_5',['destroy',['../classEntity.html#a691dbe5f9ec930c27af2af0b97907a9e',1,'Entity']]],
['documentation_6',['Welcome to the VEGO library documentation',['../index.html',1,'']]],
['draw_20your_20environment_7',['Draw Your Environment',['../md_docs_2md-pages_2tilemaps.html#autotoc_md27',1,'']]],
['duration_8',['duration',['../structStatEffect.html#af1f5099f0680329ff9ce3a9362391196',1,'StatEffect']]]
['direction_6',['direction',['../classTransformComponent.html#a39e31f729aeb4da883a135c66354124f',1,'TransformComponent']]],
['documentation_7',['Welcome to the VEGO library documentation',['../index.html',1,'']]],
['draw_20your_20environment_8',['Draw Your Environment',['../md_docs_2md-pages_2tilemaps.html#autotoc_md29',1,'']]],
['duration_9',['duration',['../structStatEffect.html#af1f5099f0680329ff9ce3a9362391196',1,'StatEffect']]]
];

View File

@ -4,5 +4,5 @@ var searchData=
['entities_1',['Entities',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md3',1,'']]],
['entities_20and_20components_2',['Entities and Components',['../md_docs_2md-pages_2entitiesAndComponents.html',1,'']]],
['entity_3',['Entity',['../classEntity.html',1,'Entity'],['../classEntity.html#aad34087e815ec2da644b86ae2357039b',1,'Entity::Entity()']]],
['environment_4',['Draw Your Environment',['../md_docs_2md-pages_2tilemaps.html#autotoc_md27',1,'']]]
['environment_4',['Draw Your Environment',['../md_docs_2md-pages_2tilemaps.html#autotoc_md29',1,'']]]
];

View File

@ -1,5 +1,6 @@
var searchData=
[
['fadeoutmusic_0',['fadeOutMusic',['../classSoundManager.html#aea6a94c8b5456812c49115baa7534bf7',1,'SoundManager']]],
['for_20setting_20up_20the_20library_1',['Quickstart guide for setting up the library',['../md_docs_2md-pages_2quickstart.html',1,'']]]
['features_1',['Implementation of Features',['../index.html#autotoc_md23',1,'']]],
['for_20setting_20up_20the_20library_2',['Quickstart guide for setting up the library',['../md_docs_2md-pages_2quickstart.html',1,'']]]
];

View File

@ -1,6 +1,6 @@
var searchData=
[
['game_0',['game',['../md_docs_2md-pages_2config.html',1,'Configuring the game'],['../md_docs_2md-pages_2tilemaps.html#autotoc_md31',1,'Loading your work into the game']]],
['game_0',['game',['../md_docs_2md-pages_2config.html',1,'Configuring the game'],['../md_docs_2md-pages_2tilemaps.html#autotoc_md33',1,'Loading your work into the game']]],
['generatetiles_1',['generateTiles',['../classMap.html#a770f6b9997712224e994c284e8812cfc',1,'Map']]],
['getactivecontext_2',['getActiveContext',['../classInputManager.html#a8c3240499dc0103d5a855c0d38127281',1,'InputManager']]],
['getall_3',['getAll',['../classManager.html#aae16a3d76e450281012c526541ebeb5b',1,'Manager']]],
@ -14,7 +14,7 @@ var searchData=
['getmanager_11',['getManager',['../classEntity.html#acdf7c696ee39da0d8ebddb1976ea0abe',1,'Entity']]],
['getposition_12',['getPosition',['../classInteractionComponent.html#a88ef331d132baf4f9a4c24544077f9f2',1,'InteractionComponent']]],
['gettag_13',['getTag',['../classColliderComponent.html#a4438054178328402309cf72589f4f163',1,'ColliderComponent']]],
['getting_20started_14',['Getting started',['../md_docs_2md-pages_2tilemaps.html#autotoc_md25',1,'']]],
['getting_20started_14',['Getting started',['../md_docs_2md-pages_2tilemaps.html#autotoc_md27',1,'']]],
['grouplabel_15',['GroupLabel',['../classEntity.html#a9449a7a0ad2c9ae5ee85ef2401382f2b',1,'Entity']]],
['guide_20for_20setting_20up_20the_20library_16',['Quickstart guide for setting up the library',['../md_docs_2md-pages_2quickstart.html',1,'']]]
];

View File

@ -1,17 +1,18 @@
var searchData=
[
['in_20tiled_0',['Understand Layers in Tiled',['../md_docs_2md-pages_2tilemaps.html#autotoc_md28',1,'']]],
['input_20management_1',['Input Management',['../md_docs_2md-pages_2inputhandling.html',1,'']]],
['inputaction_2',['InputAction',['../structInputManager_1_1InputAction.html',1,'InputManager']]],
['inputmanager_3',['InputManager',['../classInputManager.html',1,'']]],
['installations_20and_20tools_4',['Installations and tools',['../md_docs_2md-pages_2quickstart.html#autotoc_md23',1,'']]],
['interact_5',['interact',['../classInteractionComponent.html#ab6358a875d127206cb5f867f93e05368',1,'InteractionComponent']]],
['interaction_20component_6',['@ref InteractionComponent &quot;Interaction Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md10',1,'']]],
['interactioncomponent_7',['InteractionComponent',['../classInteractionComponent.html',1,'InteractionComponent'],['../classInteractionComponent.html#af60fed077b6f92c22f2246c2464923ed',1,'InteractionComponent::InteractionComponent()']]],
['interactioncomponent_20interaction_20component_8',['@ref InteractionComponent &quot;Interaction Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md10',1,'']]],
['interactioneventdatastruct_9',['InteractionEventdataStruct',['../structInteractionEventdataStruct.html',1,'']]],
['interactions_10',['Interactions',['../md_docs_2md-pages_2eventhandling.html',1,'']]],
['into_20the_20game_11',['Loading your work into the game',['../md_docs_2md-pages_2tilemaps.html#autotoc_md31',1,'']]],
['isactive_12',['isActive',['../classEntity.html#aea1c1568b4123d989c5310697030ad77',1,'Entity']]],
['it_13',['Building a map using Tiled and tmx and loading it',['../md_docs_2md-pages_2tilemaps.html',1,'']]]
['implementation_20of_20features_0',['Implementation of Features',['../index.html#autotoc_md23',1,'']]],
['in_20tiled_1',['Understand Layers in Tiled',['../md_docs_2md-pages_2tilemaps.html#autotoc_md30',1,'']]],
['input_20management_2',['Input Management',['../md_docs_2md-pages_2inputhandling.html',1,'']]],
['inputaction_3',['InputAction',['../structInputManager_1_1InputAction.html',1,'InputManager']]],
['inputmanager_4',['InputManager',['../classInputManager.html',1,'']]],
['installations_20and_20tools_5',['Installations and tools',['../md_docs_2md-pages_2quickstart.html#autotoc_md25',1,'']]],
['interact_6',['interact',['../classInteractionComponent.html#ab6358a875d127206cb5f867f93e05368',1,'InteractionComponent']]],
['interaction_20component_7',['@ref InteractionComponent &quot;Interaction Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md14',1,'']]],
['interactioncomponent_8',['InteractionComponent',['../classInteractionComponent.html',1,'InteractionComponent'],['../classInteractionComponent.html#af60fed077b6f92c22f2246c2464923ed',1,'InteractionComponent::InteractionComponent()']]],
['interactioncomponent_20interaction_20component_9',['@ref InteractionComponent &quot;Interaction Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md14',1,'']]],
['interactioneventdatastruct_10',['InteractionEventdataStruct',['../structInteractionEventdataStruct.html',1,'']]],
['interactions_11',['Interactions',['../md_docs_2md-pages_2eventhandling.html',1,'']]],
['into_20the_20game_12',['Loading your work into the game',['../md_docs_2md-pages_2tilemaps.html#autotoc_md33',1,'']]],
['isactive_13',['isActive',['../classEntity.html#aea1c1568b4123d989c5310697030ad77',1,'Entity']]],
['it_14',['Building a map using Tiled and tmx and loading it',['../md_docs_2md-pages_2tilemaps.html',1,'']]]
];

View File

@ -1,11 +1,11 @@
var searchData=
[
['layers_20in_20tiled_0',['Understand Layers in Tiled',['../md_docs_2md-pages_2tilemaps.html#autotoc_md28',1,'']]],
['layers_20in_20tiled_0',['Understand Layers in Tiled',['../md_docs_2md-pages_2tilemaps.html#autotoc_md30',1,'']]],
['library_1',['Quickstart guide for setting up the library',['../md_docs_2md-pages_2quickstart.html',1,'']]],
['library_20documentation_2',['Welcome to the VEGO library documentation',['../index.html',1,'']]],
['list_3',['List',['../deprecated.html',1,'Deprecated List'],['../todo.html',1,'Todo List']]],
['loading_20it_4',['Building a map using Tiled and tmx and loading it',['../md_docs_2md-pages_2tilemaps.html',1,'']]],
['loading_20your_20work_20into_20the_20game_5',['Loading your work into the game',['../md_docs_2md-pages_2tilemaps.html#autotoc_md31',1,'']]],
['loading_20your_20work_20into_20the_20game_5',['Loading your work into the game',['../md_docs_2md-pages_2tilemaps.html#autotoc_md33',1,'']]],
['loadmaptiletexture_6',['loadMapTileTexture',['../classTextureManager.html#ac2bf6f97639eee824c45266472430ee0',1,'TextureManager']]],
['loadtexture_7',['loadTexture',['../classTextureManager.html#a3304650a6b7304dbaa1afb164ed4c4e8',1,'TextureManager']]]
];

View File

@ -1,4 +1,4 @@
var searchData=
[
['new_20tileset_0',['Create a New Tileset',['../md_docs_2md-pages_2tilemaps.html#autotoc_md26',1,'']]]
['new_20tileset_0',['Create a New Tileset',['../md_docs_2md-pages_2tilemaps.html#autotoc_md28',1,'']]]
];

View File

@ -1,15 +1,4 @@
var searchData=
[
['pausemusic_0',['pauseMusic',['../classSoundManager.html#a5071bf5e87394afdb1e4148227ffc3ea',1,'SoundManager']]],
['pausesound_1',['pauseSound',['../classSoundManager.html#a8031476c2ccd2dd1c40a39a102bc5844',1,'SoundManager']]],
['pickup_20component_2',['@ref PickupComponent &quot;Pickup Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md12',1,'']]],
['pickupcomponent_3',['PickupComponent',['../classPickupComponent.html',1,'PickupComponent'],['../classPickupComponent.html#a4aa94e90ef16d51dab4486489a9cd3b5',1,'PickupComponent::PickupComponent()']]],
['pickupcomponent_20pickup_20component_4',['@ref PickupComponent &quot;Pickup Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md12',1,'']]],
['pickupmanager_5',['PickupManager',['../classPickupManager.html',1,'']]],
['playanimation_6',['playAnimation',['../classSpriteComponent.html#aa4ebb6763d8b994f412dec66ecf58c59',1,'SpriteComponent']]],
['players_7',['PLAYERS',['../classEntity.html#a9449a7a0ad2c9ae5ee85ef2401382f2bae334ea4bb6fd38968f6809b091120ad8',1,'Entity']]],
['playmusic_8',['playMusic',['../classSoundManager.html#a6f38946a458843cfc08ebd9e26c648a5',1,'SoundManager']]],
['playsound_9',['playSound',['../classSoundManager.html#a1065dec9d90a6fc8a363329a6e09ea42',1,'SoundManager']]],
['powerups_10',['POWERUPS',['../classEntity.html#a9449a7a0ad2c9ae5ee85ef2401382f2ba5262638eb9e1d1af560f3d0f9ad133e4',1,'Entity']]],
['projectile_11',['PROJECTILE',['../classEntity.html#a9449a7a0ad2c9ae5ee85ef2401382f2ba46dccab75ce652352e52086601fdc294',1,'Entity']]]
['of_20features_0',['Implementation of Features',['../index.html#autotoc_md23',1,'']]]
];

View File

@ -1,4 +1,15 @@
var searchData=
[
['quickstart_20guide_20for_20setting_20up_20the_20library_0',['Quickstart guide for setting up the library',['../md_docs_2md-pages_2quickstart.html',1,'']]]
['pausemusic_0',['pauseMusic',['../classSoundManager.html#a5071bf5e87394afdb1e4148227ffc3ea',1,'SoundManager']]],
['pausesound_1',['pauseSound',['../classSoundManager.html#a8031476c2ccd2dd1c40a39a102bc5844',1,'SoundManager']]],
['pickup_20component_2',['@ref PickupComponent &quot;Pickup Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md16',1,'']]],
['pickupcomponent_3',['PickupComponent',['../classPickupComponent.html',1,'PickupComponent'],['../classPickupComponent.html#a4aa94e90ef16d51dab4486489a9cd3b5',1,'PickupComponent::PickupComponent()']]],
['pickupcomponent_20pickup_20component_4',['@ref PickupComponent &quot;Pickup Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md16',1,'']]],
['pickupmanager_5',['PickupManager',['../classPickupManager.html',1,'']]],
['playanimation_6',['playAnimation',['../classSpriteComponent.html#aa4ebb6763d8b994f412dec66ecf58c59',1,'SpriteComponent']]],
['players_7',['PLAYERS',['../classEntity.html#a9449a7a0ad2c9ae5ee85ef2401382f2bae334ea4bb6fd38968f6809b091120ad8',1,'Entity']]],
['playmusic_8',['playMusic',['../classSoundManager.html#a6f38946a458843cfc08ebd9e26c648a5',1,'SoundManager']]],
['playsound_9',['playSound',['../classSoundManager.html#a1065dec9d90a6fc8a363329a6e09ea42',1,'SoundManager']]],
['powerups_10',['POWERUPS',['../classEntity.html#a9449a7a0ad2c9ae5ee85ef2401382f2ba5262638eb9e1d1af560f3d0f9ad133e4',1,'Entity']]],
['projectile_11',['PROJECTILE',['../classEntity.html#a9449a7a0ad2c9ae5ee85ef2401382f2ba46dccab75ce652352e52086601fdc294',1,'Entity']]]
];

View File

@ -1,16 +1,4 @@
var searchData=
[
['ref_20collidercomponent_20collider_20component_0',['@ref ColliderComponent &quot;Collider Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md6',1,'']]],
['ref_20datacomponent_20data_20component_1',['@ref DataComponent &quot;Data Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md8',1,'']]],
['ref_20interactioncomponent_20interaction_20component_2',['@ref InteractionComponent &quot;Interaction Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md10',1,'']]],
['ref_20pickupcomponent_20pickup_20component_3',['@ref PickupComponent &quot;Pickup Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md12',1,'']]],
['ref_20spritecomponent_20sprite_20component_4',['@ref SpriteComponent &quot;Sprite Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md16',1,'']]],
['ref_20stateffectscomponent_20stat_20effects_20component_5',['@ref StatEffectsComponent &quot;Stat Effects Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md18',1,'']]],
['ref_20transformcomponent_20transform_20component_6',['@ref TransformComponent &quot;Transform Component&quot;',['../md_docs_2md-pages_2entitiesAndComponents.html#autotoc_md14',1,'']]],
['refresh_7',['refresh',['../classManager.html#adc5c66704fd1b0a9b9d38de8fdcb3748',1,'Manager']]],
['registeraction_8',['registerAction',['../classInputManager.html#afee4ab4cebfdac2fe08cd01e1a1c1620',1,'InputManager']]],
['removecollision_9',['removeCollision',['../classColliderComponent.html#a6ac04cfb252c5712d53aaa30603165e3',1,'ColliderComponent']]],
['resetfunction_10',['resetFunction',['../structStatEffect.html#aca6d477c75029a2575d2e0a4f5794a43',1,'StatEffect']]],
['restartmusic_11',['restartMusic',['../classSoundManager.html#aaca970232ead83c6c107331f3d9ee0db',1,'SoundManager']]],
['restartsound_12',['restartSound',['../classSoundManager.html#ac24dc06983603020f6556273d3c78df3',1,'SoundManager']]]
['quickstart_20guide_20for_20setting_20up_20the_20library_0',['Quickstart guide for setting up the library',['../md_docs_2md-pages_2quickstart.html',1,'']]]
];

View File

@ -1,4 +1,5 @@
var searchData=
[
['destroy_0',['destroy',['../classEntity.html#a691dbe5f9ec930c27af2af0b97907a9e',1,'Entity']]]
['datacomponent_0',['DataComponent',['../classDataComponent.html#a1d9bc3a1c818e646be5d093119edeb01',1,'DataComponent']]],
['destroy_1',['destroy',['../classEntity.html#a691dbe5f9ec930c27af2af0b97907a9e',1,'Entity']]]
];

View File

@ -4,5 +4,5 @@ var searchData=
['setentry_1',['setEntry',['../classDataComponent.html#a1dd53c6cb91e572090c2b6853881f8c9',1,'DataComponent']]],
['setmusicvolume_2',['setMusicVolume',['../classSoundManager.html#ac5ad38c2322c75ba5481c60c4c26e0e8',1,'SoundManager']]],
['setsoundvolume_3',['setSoundVolume',['../classSoundManager.html#af99aee751f8300ba4041af004a97d319',1,'SoundManager']]],
['spritecomponent_4',['SpriteComponent',['../classSpriteComponent.html#af767b0da914fc583613626ac58505d58',1,'SpriteComponent::SpriteComponent(Textures texture, int zIndex)'],['../classSpriteComponent.html#a2c2b0ac3fc6418bb475d257597905e66',1,'SpriteComponent::SpriteComponent(Textures texture, int xOffset, int yOffset, int zIndex)'],['../classSpriteComponent.html#a5987774516010e021703a02a37d0509b',1,'SpriteComponent::SpriteComponent(const char *path, int xOffset, int yOffset, int zIndex)'],['../classSpriteComponent.html#a2c60f55924b1d18b9e6fb530b5c5346a',1,'SpriteComponent::SpriteComponent(Textures texture, bool isAnimated, std::map&lt; std::string, std::unique_ptr&lt; Animation &gt; &gt; *animationList, std::string defaultAnimation, int zIndex, int xOffset=0, int yOffset=0)']]]
['spritecomponent_4',['SpriteComponent',['../classSpriteComponent.html#a986be57e30c06ed8df1479394d185563',1,'SpriteComponent::SpriteComponent(Textures texture, int zIndex, int xOffset=0, int yOffset=0)'],['../classSpriteComponent.html#a776a161c30dbfd0f7dc7d42d477b45bb',1,'SpriteComponent::SpriteComponent(const char *path, int zIndex, int xOffset=0, int yOffset=0)'],['../classSpriteComponent.html#a2c60f55924b1d18b9e6fb530b5c5346a',1,'SpriteComponent::SpriteComponent(Textures texture, bool isAnimated, std::map&lt; std::string, std::unique_ptr&lt; Animation &gt; &gt; *animationList, std::string defaultAnimation, int zIndex, int xOffset=0, int yOffset=0)']]]
];

View File

@ -1,6 +1,6 @@
var indexSectionsWithContent =
{
0: "abcdefghiklmnpqrstuvwyz",
0: "abcdefghiklmnopqrstuvwyz",
1: "acdeimpstz",
2: "ct",
3: "acdefghilmprstu",

View File

@ -1,5 +1,6 @@
var searchData=
[
['data_0',['data',['../structInteractionEventdataStruct.html#a82dc8bba3309e5aca77629c8fd192fbc',1,'InteractionEventdataStruct']]],
['duration_1',['duration',['../structStatEffect.html#af1f5099f0680329ff9ce3a9362391196',1,'StatEffect']]]
['direction_1',['direction',['../classTransformComponent.html#a39e31f729aeb4da883a135c66354124f',1,'TransformComponent']]],
['duration_2',['duration',['../structStatEffect.html#af1f5099f0680329ff9ce3a9362391196',1,'StatEffect']]]
];