-
Notifications
You must be signed in to change notification settings - Fork 0
/
AnimatedSprite_8hpp_source.html
169 lines (167 loc) · 24.1 KB
/
AnimatedSprite_8hpp_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPC-H Platformer Engine: includes/platformer-engine/Texture/AnimatedSprite.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">SPC-H Platformer Engine
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_09e761304027c904456130627fd4dcf5.html">includes</a></li><li class="navelem"><a class="el" href="dir_1587a151464512ea3626aba36cd93a86.html">platformer-engine</a></li><li class="navelem"><a class="el" href="dir_366a47d27432147542e5f7548d7df575.html">Texture</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">AnimatedSprite.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="AnimatedSprite_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include "<a class="code" href="Sprite_8hpp.html">Sprite.hpp</a>"</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include "<a class="code" href="Point_8hpp.html">Point.hpp</a>"</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include "<a class="code" href="Timer_8hpp.html">Timer/Timer.hpp</a>"</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include "<a class="code" href="Window_8hpp.html">Render/Window.hpp</a>"</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include "<a class="code" href="Transform_8hpp.html">Transform.hpp</a>"</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include <boost/serialization/access.hpp></span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  </div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#ifndef PLATFORMER_ENGINE_ANIMATEDSPRITE_HPP</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#define PLATFORMER_ENGINE_ANIMATEDSPRITE_HPP</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  </div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  </div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="keyword">namespace </span><a class="code" href="namespaceplatformer__engine.html">platformer_engine</a> {</div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="classplatformer__engine_1_1AnimatedSprite.html"> 16</a></span>  <span class="keyword">class </span><a class="code" href="classplatformer__engine_1_1AnimatedSprite.html">AnimatedSprite</a> : <span class="keyword">public</span> <a class="code" href="classspic_1_1Sprite.html">spic::Sprite</a> {</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> ANIMATION_SPEED = 100;</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="keyword">template</span><<span class="keyword">typename</span> archive></div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classplatformer__engine_1_1AnimatedSprite.html#a677e9b976bcf3f42753597a8a25bf7c9"> 20</a></span>  <span class="keywordtype">void</span> <a class="code" href="classplatformer__engine_1_1AnimatedSprite.html#a677e9b976bcf3f42753597a8a25bf7c9">serialize</a>(archive &ar, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="comment">/*version*/</span>) {</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  ar & boost::serialization::base_object<spic::Sprite, AnimatedSprite>(*<span class="keyword">this</span>);</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  boost::serialization::void_cast_register<AnimatedSprite, spic::Sprite>();</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  ar & _currentFrame;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  ar & _frameCount;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  ar & _animationSpeed;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  ar & _spriteRow;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  }</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <a class="code" href="classplatformer__engine_1_1AnimatedSprite.html#a1c606bc3b65c73a46ead02489b997e74">AnimatedSprite</a>();</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classplatformer__engine_1_1AnimatedSprite.html#a0e55025fc76be894583bab1d3ae890c0"> 31</a></span>  <a class="code" href="classplatformer__engine_1_1AnimatedSprite.html#a0e55025fc76be894583bab1d3ae890c0">AnimatedSprite</a>(<span class="keyword">const</span> <a class="code" href="classplatformer__engine_1_1AnimatedSprite.html">AnimatedSprite</a> &other) = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  </div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classplatformer__engine_1_1AnimatedSprite.html#a063b56cf2271e22bd8ffabd535f41adf"> 33</a></span>  <a class="code" href="classplatformer__engine_1_1AnimatedSprite.html#a063b56cf2271e22bd8ffabd535f41adf">AnimatedSprite</a>(<a class="code" href="classplatformer__engine_1_1AnimatedSprite.html">AnimatedSprite</a> &&other) = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  </div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classplatformer__engine_1_1AnimatedSprite.html#a26e6be5585743da8878f0cd7b69b32a1"> 35</a></span>  <a class="code" href="classplatformer__engine_1_1AnimatedSprite.html">AnimatedSprite</a> &<a class="code" href="classplatformer__engine_1_1AnimatedSprite.html#a26e6be5585743da8878f0cd7b69b32a1">operator=</a>(<a class="code" href="classplatformer__engine_1_1AnimatedSprite.html">AnimatedSprite</a> &&other) = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classplatformer__engine_1_1AnimatedSprite.html#a61479383800fb06fd3deaaa062cc24d7"> 37</a></span>  <span class="keyword">auto</span> <a class="code" href="classplatformer__engine_1_1AnimatedSprite.html#a61479383800fb06fd3deaaa062cc24d7">operator=</a>(<span class="keyword">const</span> <a class="code" href="classplatformer__engine_1_1AnimatedSprite.html">AnimatedSprite</a> &other) -> <a class="code" href="classplatformer__engine_1_1AnimatedSprite.html">AnimatedSprite</a> & = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classplatformer__engine_1_1AnimatedSprite.html#a235246967a362490d8c73657d9525c86"> 39</a></span>  <a class="code" href="classplatformer__engine_1_1AnimatedSprite.html#a235246967a362490d8c73657d9525c86">~AnimatedSprite</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="classplatformer__engine_1_1AnimatedSprite.html#a1c606bc3b65c73a46ead02489b997e74">AnimatedSprite</a>(std::string spriteId, <span class="keywordtype">int</span> spriteWidth, <span class="keywordtype">int</span> spriteHeight, <span class="keywordtype">int</span> frameCount, <span class="keywordtype">int</span> sortingLayer = 1,</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordtype">int</span> orderInLayer = 1,</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordtype">int</span> animationSpeed = ANIMATION_SPEED, <span class="keywordtype">int</span> spriteRow = 1,</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <a class="code" href="namespaceplatformer__engine.html#a35560c5d4993464dddf37849f86816d3">platformer_engine::SPIC_RendererFlip</a> flip = <a class="code" href="namespaceplatformer__engine.html#a35560c5d4993464dddf37849f86816d3a245385c067eb05fcf566b22abcded3d8">platformer_engine::FLIP_NONE</a>,</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="classspic_1_1Color.html">spic::Color</a> color = <a class="code" href="classspic_1_1Color.html#a7df2b1abafbbef1111a7d2a179c37cb3">spic::Color::Transparent</a>(), <span class="keywordtype">double</span> spriteScale = 1.0);</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  </div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordtype">void</span> <a class="code" href="classplatformer__engine_1_1AnimatedSprite.html#ac3dd6987a13077fc15c64e2327463bc6">Update</a>(<span class="keywordtype">double</span> speedMultiplier);</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordtype">void</span> <a class="code" href="classplatformer__engine_1_1AnimatedSprite.html#a86b7c50b23724aad85e934285e3ba9ad">Draw</a>(<a class="code" href="structspic_1_1Transform.html">spic::Transform</a> transform);</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordtype">void</span> <a class="code" href="classplatformer__engine_1_1AnimatedSprite.html#ab90af71282e2660dcaa04c5738af59da">ResetCurrentFrame</a>();</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classplatformer__engine_1_1AnimatedSprite.html#af8dde5ed753f07046e2181d612a1a451"> 80</a></span>  [[nodiscard]] <span class="keyword">inline</span> <span class="keyword">auto</span> <a class="code" href="classplatformer__engine_1_1AnimatedSprite.html#af8dde5ed753f07046e2181d612a1a451">GetCurrentFrame</a>() const -> <span class="keywordtype">int</span> { <span class="keywordflow">return</span> _currentFrame; };</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classplatformer__engine_1_1AnimatedSprite.html#a27db2a2dc1cfcec47a642f163b97934f"> 86</a></span>  [[nodiscard]] <span class="keyword">inline</span> <span class="keyword">auto</span> <a class="code" href="classplatformer__engine_1_1AnimatedSprite.html#a27db2a2dc1cfcec47a642f163b97934f">GetFrameCount</a>() const -> <span class="keywordtype">int</span> { <span class="keywordflow">return</span> _frameCount; };</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  </div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keyword">private</span>:</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordtype">int</span> _currentFrame{};</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordtype">int</span> _frameCount{};</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  </div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordtype">int</span> _animationSpeed{};</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordtype">int</span> _spriteRow{};</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  };</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> } <span class="comment">// namespace platformer_engine</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  </div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="preprocessor">#endif </span><span class="comment">//PLATFORMER_ENGINE_ANIMATEDSPRITE_HPP</span></div>
<div class="ttc" id="aPoint_8hpp_html"><div class="ttname"><a href="Point_8hpp.html">Point.hpp</a></div></div>
<div class="ttc" id="aSprite_8hpp_html"><div class="ttname"><a href="Sprite_8hpp.html">Sprite.hpp</a></div></div>
<div class="ttc" id="aTimer_8hpp_html"><div class="ttname"><a href="Timer_8hpp.html">Timer.hpp</a></div></div>
<div class="ttc" id="aTransform_8hpp_html"><div class="ttname"><a href="Transform_8hpp.html">Transform.hpp</a></div></div>
<div class="ttc" id="aWindow_8hpp_html"><div class="ttname"><a href="Window_8hpp.html">Window.hpp</a></div></div>
<div class="ttc" id="aclassplatformer__engine_1_1AnimatedSprite_html"><div class="ttname"><a href="classplatformer__engine_1_1AnimatedSprite.html">platformer_engine::AnimatedSprite</a></div><div class="ttdoc">AnimatedSprite class which is used to animate sprites.</div><div class="ttdef"><b>Definition:</b> AnimatedSprite.hpp:16</div></div>
<div class="ttc" id="aclassplatformer__engine_1_1AnimatedSprite_html_a063b56cf2271e22bd8ffabd535f41adf"><div class="ttname"><a href="classplatformer__engine_1_1AnimatedSprite.html#a063b56cf2271e22bd8ffabd535f41adf">platformer_engine::AnimatedSprite::AnimatedSprite</a></div><div class="ttdeci">AnimatedSprite(AnimatedSprite &&other)=default</div></div>
<div class="ttc" id="aclassplatformer__engine_1_1AnimatedSprite_html_a0e55025fc76be894583bab1d3ae890c0"><div class="ttname"><a href="classplatformer__engine_1_1AnimatedSprite.html#a0e55025fc76be894583bab1d3ae890c0">platformer_engine::AnimatedSprite::AnimatedSprite</a></div><div class="ttdeci">AnimatedSprite(const AnimatedSprite &other)=default</div></div>
<div class="ttc" id="aclassplatformer__engine_1_1AnimatedSprite_html_a1c606bc3b65c73a46ead02489b997e74"><div class="ttname"><a href="classplatformer__engine_1_1AnimatedSprite.html#a1c606bc3b65c73a46ead02489b997e74">platformer_engine::AnimatedSprite::AnimatedSprite</a></div><div class="ttdeci">AnimatedSprite()</div><div class="ttdef"><b>Definition:</b> AnimatedSprite.cpp:31</div></div>
<div class="ttc" id="aclassplatformer__engine_1_1AnimatedSprite_html_a235246967a362490d8c73657d9525c86"><div class="ttname"><a href="classplatformer__engine_1_1AnimatedSprite.html#a235246967a362490d8c73657d9525c86">platformer_engine::AnimatedSprite::~AnimatedSprite</a></div><div class="ttdeci">~AnimatedSprite()=default</div></div>
<div class="ttc" id="aclassplatformer__engine_1_1AnimatedSprite_html_a26e6be5585743da8878f0cd7b69b32a1"><div class="ttname"><a href="classplatformer__engine_1_1AnimatedSprite.html#a26e6be5585743da8878f0cd7b69b32a1">platformer_engine::AnimatedSprite::operator=</a></div><div class="ttdeci">AnimatedSprite & operator=(AnimatedSprite &&other)=default</div></div>
<div class="ttc" id="aclassplatformer__engine_1_1AnimatedSprite_html_a27db2a2dc1cfcec47a642f163b97934f"><div class="ttname"><a href="classplatformer__engine_1_1AnimatedSprite.html#a27db2a2dc1cfcec47a642f163b97934f">platformer_engine::AnimatedSprite::GetFrameCount</a></div><div class="ttdeci">auto GetFrameCount() const -> int</div><div class="ttdoc">Get the animation frame count.</div><div class="ttdef"><b>Definition:</b> AnimatedSprite.hpp:86</div></div>
<div class="ttc" id="aclassplatformer__engine_1_1AnimatedSprite_html_a61479383800fb06fd3deaaa062cc24d7"><div class="ttname"><a href="classplatformer__engine_1_1AnimatedSprite.html#a61479383800fb06fd3deaaa062cc24d7">platformer_engine::AnimatedSprite::operator=</a></div><div class="ttdeci">auto operator=(const AnimatedSprite &other) -> AnimatedSprite &=default</div></div>
<div class="ttc" id="aclassplatformer__engine_1_1AnimatedSprite_html_a677e9b976bcf3f42753597a8a25bf7c9"><div class="ttname"><a href="classplatformer__engine_1_1AnimatedSprite.html#a677e9b976bcf3f42753597a8a25bf7c9">platformer_engine::AnimatedSprite::serialize</a></div><div class="ttdeci">void serialize(archive &ar, const unsigned)</div><div class="ttdef"><b>Definition:</b> AnimatedSprite.hpp:20</div></div>
<div class="ttc" id="aclassplatformer__engine_1_1AnimatedSprite_html_a86b7c50b23724aad85e934285e3ba9ad"><div class="ttname"><a href="classplatformer__engine_1_1AnimatedSprite.html#a86b7c50b23724aad85e934285e3ba9ad">platformer_engine::AnimatedSprite::Draw</a></div><div class="ttdeci">void Draw(spic::Transform transform)</div><div class="ttdoc">Draw the animation on the window.</div><div class="ttdef"><b>Definition:</b> AnimatedSprite.cpp:21</div></div>
<div class="ttc" id="aclassplatformer__engine_1_1AnimatedSprite_html_ab90af71282e2660dcaa04c5738af59da"><div class="ttname"><a href="classplatformer__engine_1_1AnimatedSprite.html#ab90af71282e2660dcaa04c5738af59da">platformer_engine::AnimatedSprite::ResetCurrentFrame</a></div><div class="ttdeci">void ResetCurrentFrame()</div><div class="ttdoc">Set current frame to 0.</div><div class="ttdef"><b>Definition:</b> AnimatedSprite.cpp:27</div></div>
<div class="ttc" id="aclassplatformer__engine_1_1AnimatedSprite_html_ac3dd6987a13077fc15c64e2327463bc6"><div class="ttname"><a href="classplatformer__engine_1_1AnimatedSprite.html#ac3dd6987a13077fc15c64e2327463bc6">platformer_engine::AnimatedSprite::Update</a></div><div class="ttdeci">void Update(double speedMultiplier)</div><div class="ttdoc">Update frame count.</div><div class="ttdef"><b>Definition:</b> AnimatedSprite.cpp:17</div></div>
<div class="ttc" id="aclassplatformer__engine_1_1AnimatedSprite_html_af8dde5ed753f07046e2181d612a1a451"><div class="ttname"><a href="classplatformer__engine_1_1AnimatedSprite.html#af8dde5ed753f07046e2181d612a1a451">platformer_engine::AnimatedSprite::GetCurrentFrame</a></div><div class="ttdeci">auto GetCurrentFrame() const -> int</div><div class="ttdoc">Get the current frame.</div><div class="ttdef"><b>Definition:</b> AnimatedSprite.hpp:80</div></div>
<div class="ttc" id="aclassspic_1_1Color_html"><div class="ttname"><a href="classspic_1_1Color.html">spic::Color</a></div><div class="ttdoc">Color represents a red-green-blue color with alpha.</div><div class="ttdef"><b>Definition:</b> Color.hpp:12</div></div>
<div class="ttc" id="aclassspic_1_1Color_html_a7df2b1abafbbef1111a7d2a179c37cb3"><div class="ttname"><a href="classspic_1_1Color.html#a7df2b1abafbbef1111a7d2a179c37cb3">spic::Color::Transparent</a></div><div class="ttdeci">static auto Transparent() -> const Color &</div><div class="ttdoc">One of the standard colors (read-only): transparent.</div><div class="ttdef"><b>Definition:</b> Color.hpp:84</div></div>
<div class="ttc" id="aclassspic_1_1Sprite_html"><div class="ttname"><a href="classspic_1_1Sprite.html">spic::Sprite</a></div><div class="ttdoc">A component representing a sprite (small image) @spicapi.</div><div class="ttdef"><b>Definition:</b> Sprite.hpp:27</div></div>
<div class="ttc" id="anamespaceplatformer__engine_html"><div class="ttname"><a href="namespaceplatformer__engine.html">platformer_engine</a></div><div class="ttdef"><b>Definition:</b> CollisionBehaviour.cpp:7</div></div>
<div class="ttc" id="anamespaceplatformer__engine_html_a35560c5d4993464dddf37849f86816d3"><div class="ttname"><a href="namespaceplatformer__engine.html#a35560c5d4993464dddf37849f86816d3">platformer_engine::SPIC_RendererFlip</a></div><div class="ttdeci">SPIC_RendererFlip</div><div class="ttdef"><b>Definition:</b> GraphicsFacade.hpp:18</div></div>
<div class="ttc" id="anamespaceplatformer__engine_html_a35560c5d4993464dddf37849f86816d3a245385c067eb05fcf566b22abcded3d8"><div class="ttname"><a href="namespaceplatformer__engine.html#a35560c5d4993464dddf37849f86816d3a245385c067eb05fcf566b22abcded3d8">platformer_engine::FLIP_NONE</a></div><div class="ttdeci">@ FLIP_NONE</div><div class="ttdef"><b>Definition:</b> GraphicsFacade.hpp:19</div></div>
<div class="ttc" id="astructspic_1_1Transform_html"><div class="ttname"><a href="structspic_1_1Transform.html">spic::Transform</a></div><div class="ttdoc">Instances of this class represent specific 2D transformations. @spicapi.</div><div class="ttdef"><b>Definition:</b> Transform.hpp:11</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>