-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_activities_8h_source.html
113 lines (113 loc) · 64.1 KB
/
_activities_8h_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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Gamedev Framework (gf): Activities.h 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>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="custom.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="projectlogo"><img alt="Logo" src="gf_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Gamedev Framework (gf)
 <span id="projectnumber">0.15.0</span>
</div>
<div id="projectbrief">A C++14 framework for 2D games</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_6d069d519ae9d12fa11dd8e685586b60.html">gf</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Activities.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Gamedev Framework (gf)</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright (C) 2016-2019 Julien Bernard</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * This software is provided 'as-is', without any express or implied</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * warranty. In no event will the authors be held liable for any damages</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * arising from the use of this software.</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> *</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * Permission is granted to anyone to use this software for any purpose,</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * including commercial applications, and to alter it and redistribute it</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * freely, subject to the following restrictions:</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * 1. The origin of this software must not be misrepresented; you must not</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * claim that you wrote the original software. If you use this software</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * in a product, an acknowledgment in the product documentation would be</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * appreciated but is not required.</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * 2. Altered source versions must be plainly marked as such, and must not be</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * misrepresented as being the original software.</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * 3. This notice may not be removed or altered from any source distribution.</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> */</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#ifndef GF_ACTIVITIES_H</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#define GF_ACTIVITIES_H</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <functional></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "Activity.h"</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "Portability.h"</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "Ref.h"</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "Tween.h"</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "Vector.h"</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"> 33</span> <span class="keyword">namespace </span><a class="code" href="namespacegf.html">gf</a> {</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">inline</span> <span class="keyword">namespace </span>v1 {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classgf_1_1_value_activity.html"> 44</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_value_activity.html">ValueActivity</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_activity.html">Activity</a> {</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="classgf_1_1_value_activity.html">ValueActivity</a>(<span class="keywordtype">float</span> origin, <span class="keywordtype">float</span> target, <span class="keywordtype">float</span>& value, <a class="code" href="classgf_1_1_time.html">Time</a> duration, <a class="code" href="group__core.html#ga956e20c5e2e9435c5c40dda37f672f32">Easing</a> easing = <a class="code" href="classgf_1_1_ease.html#a1edd726a738d4c05c10386932fd8d904">Ease::linear</a>);</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classgf_1_1_value_activity.html#a1c3cf2d3782fb9820cb2c2c33de52a51"> 62</a></span>  <span class="keywordtype">void</span> <a class="code" href="classgf_1_1_value_activity.html#a1c3cf2d3782fb9820cb2c2c33de52a51">setOrigin</a>(<span class="keywordtype">float</span> origin) {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  m_tween.setOrigin(origin);</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  }</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classgf_1_1_value_activity.html#ab1b4b8f1f7eaf3511b846f5dcb10ee5b"> 71</a></span>  <span class="keywordtype">float</span> <a class="code" href="classgf_1_1_value_activity.html#ab1b4b8f1f7eaf3511b846f5dcb10ee5b">getOrigin</a>() const noexcept {</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordflow">return</span> m_tween.getOrigin();</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  }</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classgf_1_1_value_activity.html#a98139139fd3a2cfe70863be39ccfad75"> 80</a></span>  <span class="keywordtype">void</span> <a class="code" href="classgf_1_1_value_activity.html#a98139139fd3a2cfe70863be39ccfad75">setTarget</a>(<span class="keywordtype">float</span> target) {</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  m_tween.setTarget(target);</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  }</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classgf_1_1_value_activity.html#a331bc2e14aee56b786f0c25b50649cba"> 89</a></span>  <span class="keywordtype">float</span> <a class="code" href="classgf_1_1_value_activity.html#a331bc2e14aee56b786f0c25b50649cba">getTarget</a>() const noexcept {</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">return</span> m_tween.getTarget();</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> </div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classgf_1_1_value_activity.html#a261c9dc4dd65242b5ce8901ef5b57fc7"> 98</a></span>  <span class="keywordtype">void</span> <a class="code" href="classgf_1_1_value_activity.html#a261c9dc4dd65242b5ce8901ef5b57fc7">setDuration</a>(<a class="code" href="classgf_1_1_time.html">Time</a> duration) {</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  m_tween.setDuration(duration);</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  }</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classgf_1_1_value_activity.html#a478f280c9af65bb7be3dbbf815a13633"> 107</a></span>  <a class="code" href="classgf_1_1_time.html">Time</a> <a class="code" href="classgf_1_1_value_activity.html#a478f280c9af65bb7be3dbbf815a13633">getDuration</a>() const noexcept {</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordflow">return</span> m_tween.getDuration();</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  }</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="code" href="group__game.html#gac51a053dba8754067dd4bbbf793754df">ActivityStatus</a> run(<a class="code" href="classgf_1_1_time.html">Time</a> time) <span class="keyword">override</span>;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordtype">void</span> restart() <span class="keyword">override</span>;</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <a class="code" href="classgf_1_1_tween.html">Tween<float></a> m_tween;</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  };</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> </div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classgf_1_1_rotate_to_activity.html"> 127</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_rotate_to_activity.html">RotateToActivity</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_activity.html">Activity</a> {</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <a class="code" href="classgf_1_1_rotate_to_activity.html">RotateToActivity</a>(<span class="keywordtype">float</span> origin, <span class="keywordtype">float</span> target, <span class="keywordtype">float</span>& <a class="code" href="group__core.html#ga96c554e4534b63fd34ac457d563e7c32">angle</a>, <a class="code" href="classgf_1_1_time.html">Time</a> duration, <a class="code" href="group__core.html#ga956e20c5e2e9435c5c40dda37f672f32">Easing</a> easing = <a class="code" href="classgf_1_1_ease.html#a1edd726a738d4c05c10386932fd8d904">Ease::linear</a>);</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> </div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="classgf_1_1_rotate_to_activity.html#a08271660c753de5e8dc910125304ff73"> 145</a></span>  <span class="keywordtype">void</span> <a class="code" href="classgf_1_1_rotate_to_activity.html#a08271660c753de5e8dc910125304ff73">setOrigin</a>(<span class="keywordtype">float</span> origin) {</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  m_tween.setOrigin(origin);</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  normalize();</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  }</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div><div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="classgf_1_1_rotate_to_activity.html#a7a5b8688942555f3a1b4507bbbc98984"> 155</a></span>  <span class="keywordtype">float</span> <a class="code" href="classgf_1_1_rotate_to_activity.html#a7a5b8688942555f3a1b4507bbbc98984">getOrigin</a>() const noexcept {</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordflow">return</span> m_tween.getOrigin();</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  }</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div><div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="classgf_1_1_rotate_to_activity.html#ac1068f35ca0c3ff5141267b666b1e708"> 164</a></span>  <span class="keywordtype">void</span> <a class="code" href="classgf_1_1_rotate_to_activity.html#ac1068f35ca0c3ff5141267b666b1e708">setTarget</a>(<span class="keywordtype">float</span> target) {</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  m_tween.setTarget(target);</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  normalize();</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  }</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span> </div><div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="classgf_1_1_rotate_to_activity.html#a017a25f178f34a605e1b6f2684675c7d"> 174</a></span>  <span class="keywordtype">float</span> <a class="code" href="classgf_1_1_rotate_to_activity.html#a017a25f178f34a605e1b6f2684675c7d">getTarget</a>() const noexcept {</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordflow">return</span> m_tween.getTarget();</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  }</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span> </div><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="classgf_1_1_rotate_to_activity.html#aea591bf937dee296984dfc8f3098753c"> 183</a></span>  <span class="keywordtype">void</span> <a class="code" href="classgf_1_1_rotate_to_activity.html#aea591bf937dee296984dfc8f3098753c">setDuration</a>(<a class="code" href="classgf_1_1_time.html">Time</a> duration) {</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  m_tween.setDuration(duration);</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  }</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> </div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="classgf_1_1_rotate_to_activity.html#ae8e07ccfbc5262c3418a9910a46438fb"> 192</a></span>  <a class="code" href="classgf_1_1_time.html">Time</a> <a class="code" href="classgf_1_1_rotate_to_activity.html#ae8e07ccfbc5262c3418a9910a46438fb">getDuration</a>() const noexcept {</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keywordflow">return</span> m_tween.getDuration();</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  }</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span> </div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <a class="code" href="group__game.html#gac51a053dba8754067dd4bbbf793754df">ActivityStatus</a> run(<a class="code" href="classgf_1_1_time.html">Time</a> time) <span class="keyword">override</span>;</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordtype">void</span> restart() <span class="keyword">override</span>;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span> </div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keywordtype">void</span> normalize();</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <a class="code" href="classgf_1_1_tween.html">Tween<float></a> m_tween;</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  };</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span> </div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </div><div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="classgf_1_1_move_to_activity.html"> 213</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_move_to_activity.html">MoveToActivity</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_activity.html">Activity</a> {</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <a class="code" href="classgf_1_1_move_to_activity.html">MoveToActivity</a>(<a class="code" href="structgf_1_1_vector.html">Vector2f</a> origin, <a class="code" href="structgf_1_1_vector.html">Vector2f</a> target, <a class="code" href="structgf_1_1_vector.html">Vector2f</a>& position, <a class="code" href="classgf_1_1_time.html">Time</a> duration, <a class="code" href="group__core.html#ga956e20c5e2e9435c5c40dda37f672f32">Easing</a> easing = <a class="code" href="classgf_1_1_ease.html#a1edd726a738d4c05c10386932fd8d904">Ease::linear</a>);</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span> </div><div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="classgf_1_1_move_to_activity.html#ade341be12347e6262fc8bf7e6a6720b9"> 231</a></span>  <span class="keywordtype">void</span> <a class="code" href="classgf_1_1_move_to_activity.html#ade341be12347e6262fc8bf7e6a6720b9">setOrigin</a>(<a class="code" href="structgf_1_1_vector.html">Vector2f</a> origin) {</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  m_tween.setOrigin(origin);</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  }</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span> </div><div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="classgf_1_1_move_to_activity.html#ac5f0633e985fe46bae87d729792cf5be"> 240</a></span>  <a class="code" href="structgf_1_1_vector.html">Vector2f</a> <a class="code" href="classgf_1_1_move_to_activity.html#ac5f0633e985fe46bae87d729792cf5be">getOrigin</a>() const noexcept {</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="keywordflow">return</span> m_tween.getOrigin();</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  }</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span> </div><div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="classgf_1_1_move_to_activity.html#a9c7d45004c7f8bd4d38eb936be458348"> 249</a></span>  <span class="keywordtype">void</span> <a class="code" href="classgf_1_1_move_to_activity.html#a9c7d45004c7f8bd4d38eb936be458348">setTarget</a>(<a class="code" href="structgf_1_1_vector.html">Vector2f</a> target) {</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  m_tween.setTarget(target);</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  }</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span> </div><div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="classgf_1_1_move_to_activity.html#a07ea1358626d3db6242d47dbeabdb09e"> 258</a></span>  <a class="code" href="structgf_1_1_vector.html">Vector2f</a> <a class="code" href="classgf_1_1_move_to_activity.html#a07ea1358626d3db6242d47dbeabdb09e">getTarget</a>() const noexcept {</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <span class="keywordflow">return</span> m_tween.getTarget();</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  }</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span> </div><div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="classgf_1_1_move_to_activity.html#a807e0a1d88ef5adcbe847cda8cdbf7af"> 267</a></span>  <span class="keywordtype">void</span> <a class="code" href="classgf_1_1_move_to_activity.html#a807e0a1d88ef5adcbe847cda8cdbf7af">setDuration</a>(<a class="code" href="classgf_1_1_time.html">Time</a> duration) {</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  m_tween.setDuration(duration);</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  }</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span> </div><div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="classgf_1_1_move_to_activity.html#abc32e073d1323ca461b7df9af719bfda"> 276</a></span>  <a class="code" href="classgf_1_1_time.html">Time</a> <a class="code" href="classgf_1_1_move_to_activity.html#abc32e073d1323ca461b7df9af719bfda">getDuration</a>() const noexcept {</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <span class="keywordflow">return</span> m_tween.getDuration();</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  }</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span> </div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <a class="code" href="group__game.html#gac51a053dba8754067dd4bbbf793754df">ActivityStatus</a> run(<a class="code" href="classgf_1_1_time.html">Time</a> time) <span class="keyword">override</span>;</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="keywordtype">void</span> restart() <span class="keyword">override</span>;</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span> </div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <a class="code" href="classgf_1_1_tween.html">Tween<Vector2f></a> m_tween;</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  };</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span> </div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span> </div><div class="line"><a name="l00294"></a><span class="lineno"><a class="line" href="classgf_1_1_color_activity.html"> 294</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_color_activity.html">ColorActivity</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_activity.html">Activity</a> {</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <a class="code" href="classgf_1_1_color_activity.html">ColorActivity</a>(<a class="code" href="structgf_1_1_vector_3_01_t_00_014_01_4.html">Color4f</a> origin, <a class="code" href="structgf_1_1_vector_3_01_t_00_014_01_4.html">Color4f</a> target, <a class="code" href="structgf_1_1_vector_3_01_t_00_014_01_4.html">Color4f</a>& color, <a class="code" href="classgf_1_1_time.html">Time</a> duration, <a class="code" href="group__core.html#ga956e20c5e2e9435c5c40dda37f672f32">Easing</a> easing = <a class="code" href="classgf_1_1_ease.html#a1edd726a738d4c05c10386932fd8d904">Ease::linear</a>);</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span> </div><div class="line"><a name="l00312"></a><span class="lineno"><a class="line" href="classgf_1_1_color_activity.html#ae18c2bb5e2e96e126de58842953e7223"> 312</a></span>  <span class="keywordtype">void</span> <a class="code" href="classgf_1_1_color_activity.html#ae18c2bb5e2e96e126de58842953e7223">setOrigin</a>(<a class="code" href="structgf_1_1_vector_3_01_t_00_014_01_4.html">Color4f</a> origin) {</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  m_tween.setOrigin(origin);</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  }</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span> </div><div class="line"><a name="l00321"></a><span class="lineno"><a class="line" href="classgf_1_1_color_activity.html#a0a813fd70b1555c223d715f8a93b7a6a"> 321</a></span>  <a class="code" href="structgf_1_1_vector_3_01_t_00_014_01_4.html">Color4f</a> <a class="code" href="classgf_1_1_color_activity.html#a0a813fd70b1555c223d715f8a93b7a6a">getOrigin</a>() const noexcept {</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <span class="keywordflow">return</span> m_tween.getOrigin();</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  }</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span> </div><div class="line"><a name="l00330"></a><span class="lineno"><a class="line" href="classgf_1_1_color_activity.html#a76b8b0719dec9c1492045597a4755f48"> 330</a></span>  <span class="keywordtype">void</span> <a class="code" href="classgf_1_1_color_activity.html#a76b8b0719dec9c1492045597a4755f48">setTarget</a>(<a class="code" href="structgf_1_1_vector_3_01_t_00_014_01_4.html">Color4f</a> target) {</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  m_tween.setTarget(target);</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  }</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span> </div><div class="line"><a name="l00339"></a><span class="lineno"><a class="line" href="classgf_1_1_color_activity.html#afa3ada0916d66756ec934a47e4570d7a"> 339</a></span>  <a class="code" href="structgf_1_1_vector_3_01_t_00_014_01_4.html">Color4f</a> <a class="code" href="classgf_1_1_color_activity.html#afa3ada0916d66756ec934a47e4570d7a">getTarget</a>() const noexcept {</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  <span class="keywordflow">return</span> m_tween.getTarget();</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  }</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span> </div><div class="line"><a name="l00348"></a><span class="lineno"><a class="line" href="classgf_1_1_color_activity.html#a2341cac2533f5e291fb2012b9b3dd952"> 348</a></span>  <span class="keywordtype">void</span> <a class="code" href="classgf_1_1_color_activity.html#a2341cac2533f5e291fb2012b9b3dd952">setDuration</a>(<a class="code" href="classgf_1_1_time.html">Time</a> duration) {</div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  m_tween.setDuration(duration);</div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  }</div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span> </div><div class="line"><a name="l00357"></a><span class="lineno"><a class="line" href="classgf_1_1_color_activity.html#ab8bae28720035edd29ad187094af3bdb"> 357</a></span>  <a class="code" href="classgf_1_1_time.html">Time</a> <a class="code" href="classgf_1_1_color_activity.html#ab8bae28720035edd29ad187094af3bdb">getDuration</a>() const noexcept {</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  <span class="keywordflow">return</span> m_tween.getDuration();</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  }</div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span> </div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  <a class="code" href="group__game.html#gac51a053dba8754067dd4bbbf793754df">ActivityStatus</a> run(<a class="code" href="classgf_1_1_time.html">Time</a> time) <span class="keyword">override</span>;</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  <span class="keywordtype">void</span> restart() <span class="keyword">override</span>;</div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span> </div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  <a class="code" href="classgf_1_1_tween.html">Tween<Color4f></a> m_tween;</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  };</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span> </div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span> </div><div class="line"><a name="l00373"></a><span class="lineno"><a class="line" href="classgf_1_1_callback_activity.html"> 373</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_callback_activity.html">CallbackActivity</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_activity.html">Activity</a> {</div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  <a class="code" href="classgf_1_1_callback_activity.html">CallbackActivity</a>(std::function<<span class="keywordtype">void</span>()> callback);</div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span> </div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <a class="code" href="group__game.html#gac51a053dba8754067dd4bbbf793754df">ActivityStatus</a> run(<a class="code" href="classgf_1_1_time.html">Time</a> time) <span class="keyword">override</span>;</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  <span class="keywordtype">void</span> restart() <span class="keyword">override</span>;</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span> </div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  std::function<void()> m_callback;</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  <span class="keywordtype">bool</span> m_called;</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  };</div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span> </div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span> </div><div class="line"><a name="l00395"></a><span class="lineno"><a class="line" href="classgf_1_1_delay_activity.html"> 395</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_delay_activity.html">DelayActivity</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_activity.html">Activity</a> {</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  <a class="code" href="classgf_1_1_delay_activity.html">DelayActivity</a>(<a class="code" href="classgf_1_1_time.html">Time</a> duration);</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span> </div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  <a class="code" href="group__game.html#gac51a053dba8754067dd4bbbf793754df">ActivityStatus</a> run(<a class="code" href="classgf_1_1_time.html">Time</a> time) <span class="keyword">override</span>;</div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  <span class="keywordtype">void</span> restart() <span class="keyword">override</span>;</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span> </div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  <a class="code" href="classgf_1_1_time.html">Time</a> m_elapsed;</div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  <a class="code" href="classgf_1_1_time.html">Time</a> m_duration;</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  };</div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span> </div><div class="line"><a name="l00412"></a><span class="lineno"> 412</span> </div><div class="line"><a name="l00417"></a><span class="lineno"><a class="line" href="classgf_1_1_sequence_activity.html"> 417</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_sequence_activity.html">SequenceActivity</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_activity.html">Activity</a> {</div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  <a class="code" href="classgf_1_1_sequence_activity.html">SequenceActivity</a>();</div><div class="line"><a name="l00423"></a><span class="lineno"> 423</span> </div><div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  <span class="keywordtype">void</span> addActivity(<a class="code" href="classgf_1_1_activity.html">Activity</a>& activity);</div><div class="line"><a name="l00430"></a><span class="lineno"> 430</span> </div><div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  <span class="keywordtype">void</span> clear();</div><div class="line"><a name="l00435"></a><span class="lineno"> 435</span> </div><div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  <a class="code" href="group__game.html#gac51a053dba8754067dd4bbbf793754df">ActivityStatus</a> run(<a class="code" href="classgf_1_1_time.html">Time</a> time) <span class="keyword">override</span>;</div><div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  <span class="keywordtype">void</span> restart() <span class="keyword">override</span>;</div><div class="line"><a name="l00438"></a><span class="lineno"> 438</span> </div><div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  std::size_t m_current;</div><div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  std::vector<Ref<Activity>> m_activities;</div><div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  };</div><div class="line"><a name="l00443"></a><span class="lineno"> 443</span> </div><div class="line"><a name="l00444"></a><span class="lineno"> 444</span> </div><div class="line"><a name="l00449"></a><span class="lineno"><a class="line" href="classgf_1_1_repeat_activity.html"> 449</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_repeat_activity.html">RepeatActivity</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_activity.html">Activity</a> {</div><div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  <a class="code" href="classgf_1_1_repeat_activity.html">RepeatActivity</a>(<a class="code" href="classgf_1_1_activity.html">Activity</a>& activity, <span class="keywordtype">unsigned</span> repeat = 0);</div><div class="line"><a name="l00458"></a><span class="lineno"> 458</span> </div><div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  <a class="code" href="group__game.html#gac51a053dba8754067dd4bbbf793754df">ActivityStatus</a> run(<a class="code" href="classgf_1_1_time.html">Time</a> time) <span class="keyword">override</span>;</div><div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  <span class="keywordtype">void</span> restart() <span class="keyword">override</span>;</div><div class="line"><a name="l00461"></a><span class="lineno"> 461</span> </div><div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  <a class="code" href="classgf_1_1_activity.html">Activity</a>& m_activity;</div><div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  <span class="keywordtype">unsigned</span> m_count;</div><div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  <span class="keywordtype">unsigned</span> m_repeat;</div><div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  };</div><div class="line"><a name="l00467"></a><span class="lineno"> 467</span> </div><div class="line"><a name="l00468"></a><span class="lineno"> 468</span> </div><div class="line"><a name="l00476"></a><span class="lineno"><a class="line" href="classgf_1_1_repeated_sequence_activity.html"> 476</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_repeated_sequence_activity.html">RepeatedSequenceActivity</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_activity.html">Activity</a> {</div><div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00483"></a><span class="lineno"> 483</span>  <a class="code" href="classgf_1_1_repeated_sequence_activity.html">RepeatedSequenceActivity</a>(<span class="keywordtype">unsigned</span> repeat = 0);</div><div class="line"><a name="l00484"></a><span class="lineno"> 484</span> </div><div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  <a class="code" href="group__game.html#gac51a053dba8754067dd4bbbf793754df">ActivityStatus</a> run(<a class="code" href="classgf_1_1_time.html">Time</a> time) <span class="keyword">override</span>;</div><div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  <span class="keywordtype">void</span> restart() <span class="keyword">override</span>;</div><div class="line"><a name="l00487"></a><span class="lineno"> 487</span> </div><div class="line"><a name="l00488"></a><span class="lineno"> 488</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00489"></a><span class="lineno"> 489</span>  <a class="code" href="classgf_1_1_sequence_activity.html">SequenceActivity</a> m_sequence;</div><div class="line"><a name="l00490"></a><span class="lineno"> 490</span>  <a class="code" href="classgf_1_1_repeat_activity.html">RepeatActivity</a> m_repeat;</div><div class="line"><a name="l00491"></a><span class="lineno"> 491</span>  };</div><div class="line"><a name="l00492"></a><span class="lineno"> 492</span> </div><div class="line"><a name="l00493"></a><span class="lineno"> 493</span> </div><div class="line"><a name="l00498"></a><span class="lineno"><a class="line" href="classgf_1_1_parallel_activity.html"> 498</a></span>  <span class="keyword">class </span>GF_API <a class="code" href="classgf_1_1_parallel_activity.html">ParallelActivity</a> : <span class="keyword">public</span> <a class="code" href="classgf_1_1_activity.html">Activity</a> {</div><div class="line"><a name="l00499"></a><span class="lineno"> 499</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00503"></a><span class="lineno"><a class="line" href="classgf_1_1_parallel_activity.html#ad9a95c9374e9c4f0787ad08db5f85be4"> 503</a></span>  <span class="keyword">enum class</span> <a class="code" href="classgf_1_1_parallel_activity.html#ad9a95c9374e9c4f0787ad08db5f85be4">Finish</a> {</div><div class="line"><a name="l00504"></a><span class="lineno"> 504</span>  <a class="code" href="group__core.html#ga5faffaaaf7ee50028d8a0825da41e711">Any</a>, </div><div class="line"><a name="l00505"></a><span class="lineno"> 505</span>  <a class="code" href="group__core.html#ga21fb73589fe7966a778a8b77ff9f16b8">All</a>, </div><div class="line"><a name="l00506"></a><span class="lineno"> 506</span>  };</div><div class="line"><a name="l00507"></a><span class="lineno"> 507</span> </div><div class="line"><a name="l00513"></a><span class="lineno"> 513</span>  <a class="code" href="classgf_1_1_parallel_activity.html">ParallelActivity</a>(<a class="code" href="classgf_1_1_parallel_activity.html#ad9a95c9374e9c4f0787ad08db5f85be4">Finish</a> finish = <a class="code" href="group__core.html#ga5faffaaaf7ee50028d8a0825da41e711">Finish::Any</a>);</div><div class="line"><a name="l00514"></a><span class="lineno"> 514</span> </div><div class="line"><a name="l00520"></a><span class="lineno"> 520</span>  <span class="keywordtype">void</span> addActivity(<a class="code" href="classgf_1_1_activity.html">Activity</a>& activity);</div><div class="line"><a name="l00521"></a><span class="lineno"> 521</span> </div><div class="line"><a name="l00525"></a><span class="lineno"> 525</span>  <span class="keywordtype">void</span> clear();</div><div class="line"><a name="l00526"></a><span class="lineno"> 526</span> </div><div class="line"><a name="l00527"></a><span class="lineno"> 527</span>  <a class="code" href="group__game.html#gac51a053dba8754067dd4bbbf793754df">ActivityStatus</a> run(<a class="code" href="classgf_1_1_time.html">Time</a> time) <span class="keyword">override</span>;</div><div class="line"><a name="l00528"></a><span class="lineno"> 528</span>  <span class="keywordtype">void</span> restart() <span class="keyword">override</span>;</div><div class="line"><a name="l00529"></a><span class="lineno"> 529</span> </div><div class="line"><a name="l00530"></a><span class="lineno"> 530</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00531"></a><span class="lineno"> 531</span>  <a class="code" href="classgf_1_1_parallel_activity.html#ad9a95c9374e9c4f0787ad08db5f85be4">Finish</a> m_finish;</div><div class="line"><a name="l00532"></a><span class="lineno"> 532</span>  <a class="code" href="group__game.html#gac51a053dba8754067dd4bbbf793754df">ActivityStatus</a> m_status;</div><div class="line"><a name="l00533"></a><span class="lineno"> 533</span>  std::vector<Ref<Activity>> m_activities;</div><div class="line"><a name="l00534"></a><span class="lineno"> 534</span>  };</div><div class="line"><a name="l00535"></a><span class="lineno"> 535</span> </div><div class="line"><a name="l00536"></a><span class="lineno"> 536</span> </div><div class="line"><a name="l00537"></a><span class="lineno"> 537</span> <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span></div><div class="line"><a name="l00538"></a><span class="lineno"> 538</span> }</div><div class="line"><a name="l00539"></a><span class="lineno"> 539</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00540"></a><span class="lineno"> 540</span> }</div><div class="line"><a name="l00541"></a><span class="lineno"> 541</span> </div><div class="line"><a name="l00542"></a><span class="lineno"> 542</span> <span class="preprocessor">#endif // GF_ACTIVITIES_H</span></div><div class="ttc" id="classgf_1_1_move_to_activity_html_abc32e073d1323ca461b7df9af719bfda"><div class="ttname"><a href="classgf_1_1_move_to_activity.html#abc32e073d1323ca461b7df9af719bfda">gf::MoveToActivity::getDuration</a></div><div class="ttdeci">Time getDuration() const noexcept</div><div class="ttdoc">Get the duration of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:276</div></div>
<div class="ttc" id="classgf_1_1_value_activity_html_a478f280c9af65bb7be3dbbf815a13633"><div class="ttname"><a href="classgf_1_1_value_activity.html#a478f280c9af65bb7be3dbbf815a13633">gf::ValueActivity::getDuration</a></div><div class="ttdeci">Time getDuration() const noexcept</div><div class="ttdoc">Get the duration of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:107</div></div>
<div class="ttc" id="classgf_1_1_move_to_activity_html_ade341be12347e6262fc8bf7e6a6720b9"><div class="ttname"><a href="classgf_1_1_move_to_activity.html#ade341be12347e6262fc8bf7e6a6720b9">gf::MoveToActivity::setOrigin</a></div><div class="ttdeci">void setOrigin(Vector2f origin)</div><div class="ttdoc">Change the origin of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:231</div></div>
<div class="ttc" id="classgf_1_1_color_activity_html_afa3ada0916d66756ec934a47e4570d7a"><div class="ttname"><a href="classgf_1_1_color_activity.html#afa3ada0916d66756ec934a47e4570d7a">gf::ColorActivity::getTarget</a></div><div class="ttdeci">Color4f getTarget() const noexcept</div><div class="ttdoc">Get the target of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:339</div></div>
<div class="ttc" id="classgf_1_1_move_to_activity_html"><div class="ttname"><a href="classgf_1_1_move_to_activity.html">gf::MoveToActivity</a></div><div class="ttdoc">An activity for a change of position. </div><div class="ttdef"><b>Definition:</b> Activities.h:213</div></div>
<div class="ttc" id="classgf_1_1_value_activity_html_a98139139fd3a2cfe70863be39ccfad75"><div class="ttname"><a href="classgf_1_1_value_activity.html#a98139139fd3a2cfe70863be39ccfad75">gf::ValueActivity::setTarget</a></div><div class="ttdeci">void setTarget(float target)</div><div class="ttdoc">Change the target of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:80</div></div>
<div class="ttc" id="classgf_1_1_value_activity_html_a1c3cf2d3782fb9820cb2c2c33de52a51"><div class="ttname"><a href="classgf_1_1_value_activity.html#a1c3cf2d3782fb9820cb2c2c33de52a51">gf::ValueActivity::setOrigin</a></div><div class="ttdeci">void setOrigin(float origin)</div><div class="ttdoc">Change the origin of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:62</div></div>
<div class="ttc" id="classgf_1_1_value_activity_html_a261c9dc4dd65242b5ce8901ef5b57fc7"><div class="ttname"><a href="classgf_1_1_value_activity.html#a261c9dc4dd65242b5ce8901ef5b57fc7">gf::ValueActivity::setDuration</a></div><div class="ttdeci">void setDuration(Time duration)</div><div class="ttdoc">Change the duration of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:98</div></div>
<div class="ttc" id="group__core_html_ga21fb73589fe7966a778a8b77ff9f16b8"><div class="ttname"><a href="group__core.html#ga21fb73589fe7966a778a8b77ff9f16b8">gf::All</a></div><div class="ttdeci">constexpr AllType All</div><div class="ttdoc">Constant to represent "all". </div><div class="ttdef"><b>Definition:</b> Types.h:61</div></div>
<div class="ttc" id="group__game_html_gac51a053dba8754067dd4bbbf793754df"><div class="ttname"><a href="group__game.html#gac51a053dba8754067dd4bbbf793754df">gf::ActivityStatus</a></div><div class="ttdeci">ActivityStatus</div><div class="ttdoc">Status of an activity. </div><div class="ttdef"><b>Definition:</b> Activity.h:38</div></div>
<div class="ttc" id="classgf_1_1_parallel_activity_html_ad9a95c9374e9c4f0787ad08db5f85be4"><div class="ttname"><a href="classgf_1_1_parallel_activity.html#ad9a95c9374e9c4f0787ad08db5f85be4">gf::ParallelActivity::Finish</a></div><div class="ttdeci">Finish</div><div class="ttdoc">The type of finish for the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:503</div></div>
<div class="ttc" id="classgf_1_1_time_html"><div class="ttname"><a href="classgf_1_1_time.html">gf::Time</a></div><div class="ttdoc">Represents a time value. </div><div class="ttdef"><b>Definition:</b> Time.h:74</div></div>
<div class="ttc" id="classgf_1_1_color_activity_html_a76b8b0719dec9c1492045597a4755f48"><div class="ttname"><a href="classgf_1_1_color_activity.html#a76b8b0719dec9c1492045597a4755f48">gf::ColorActivity::setTarget</a></div><div class="ttdeci">void setTarget(Color4f target)</div><div class="ttdoc">Change the target of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:330</div></div>
<div class="ttc" id="classgf_1_1_rotate_to_activity_html_ae8e07ccfbc5262c3418a9910a46438fb"><div class="ttname"><a href="classgf_1_1_rotate_to_activity.html#ae8e07ccfbc5262c3418a9910a46438fb">gf::RotateToActivity::getDuration</a></div><div class="ttdeci">Time getDuration() const noexcept</div><div class="ttdoc">Get the duration of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:192</div></div>
<div class="ttc" id="classgf_1_1_color_activity_html_ab8bae28720035edd29ad187094af3bdb"><div class="ttname"><a href="classgf_1_1_color_activity.html#ab8bae28720035edd29ad187094af3bdb">gf::ColorActivity::getDuration</a></div><div class="ttdeci">Time getDuration() const noexcept</div><div class="ttdoc">Get the duration of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:357</div></div>
<div class="ttc" id="classgf_1_1_repeated_sequence_activity_html"><div class="ttname"><a href="classgf_1_1_repeated_sequence_activity.html">gf::RepeatedSequenceActivity</a></div><div class="ttdoc">A repeated sequence activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:476</div></div>
<div class="ttc" id="classgf_1_1_repeat_activity_html"><div class="ttname"><a href="classgf_1_1_repeat_activity.html">gf::RepeatActivity</a></div><div class="ttdoc">An activity to run an activity several times. </div><div class="ttdef"><b>Definition:</b> Activities.h:449</div></div>
<div class="ttc" id="classgf_1_1_color_activity_html_ae18c2bb5e2e96e126de58842953e7223"><div class="ttname"><a href="classgf_1_1_color_activity.html#ae18c2bb5e2e96e126de58842953e7223">gf::ColorActivity::setOrigin</a></div><div class="ttdeci">void setOrigin(Color4f origin)</div><div class="ttdoc">Change the origin of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:312</div></div>
<div class="ttc" id="classgf_1_1_rotate_to_activity_html_aea591bf937dee296984dfc8f3098753c"><div class="ttname"><a href="classgf_1_1_rotate_to_activity.html#aea591bf937dee296984dfc8f3098753c">gf::RotateToActivity::setDuration</a></div><div class="ttdeci">void setDuration(Time duration)</div><div class="ttdoc">Change the duration of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:183</div></div>
<div class="ttc" id="classgf_1_1_delay_activity_html"><div class="ttname"><a href="classgf_1_1_delay_activity.html">gf::DelayActivity</a></div><div class="ttdoc">An activity to wait for a predefined duration. </div><div class="ttdef"><b>Definition:</b> Activities.h:395</div></div>
<div class="ttc" id="namespacegf_html"><div class="ttname"><a href="namespacegf.html">gf</a></div><div class="ttdoc">The namespace for gf classes. </div><div class="ttdef"><b>Definition:</b> Action.h:35</div></div>
<div class="ttc" id="classgf_1_1_ease_html_a1edd726a738d4c05c10386932fd8d904"><div class="ttname"><a href="classgf_1_1_ease.html#a1edd726a738d4c05c10386932fd8d904">gf::Ease::linear</a></div><div class="ttdeci">static float linear(float t)</div><div class="ttdoc">Linear easing. </div></div>
<div class="ttc" id="classgf_1_1_rotate_to_activity_html_a08271660c753de5e8dc910125304ff73"><div class="ttname"><a href="classgf_1_1_rotate_to_activity.html#a08271660c753de5e8dc910125304ff73">gf::RotateToActivity::setOrigin</a></div><div class="ttdeci">void setOrigin(float origin)</div><div class="ttdoc">Change the origin of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:145</div></div>
<div class="ttc" id="group__core_html_ga96c554e4534b63fd34ac457d563e7c32"><div class="ttname"><a href="group__core.html#ga96c554e4534b63fd34ac457d563e7c32">gf::angle</a></div><div class="ttdeci">float angle(Direction direction)</div><div class="ttdoc">Get an angle from a direction. </div></div>
<div class="ttc" id="classgf_1_1_move_to_activity_html_a07ea1358626d3db6242d47dbeabdb09e"><div class="ttname"><a href="classgf_1_1_move_to_activity.html#a07ea1358626d3db6242d47dbeabdb09e">gf::MoveToActivity::getTarget</a></div><div class="ttdeci">Vector2f getTarget() const noexcept</div><div class="ttdoc">Get the target of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:258</div></div>
<div class="ttc" id="classgf_1_1_rotate_to_activity_html"><div class="ttname"><a href="classgf_1_1_rotate_to_activity.html">gf::RotateToActivity</a></div><div class="ttdoc">An activity for a change of angle. </div><div class="ttdef"><b>Definition:</b> Activities.h:127</div></div>
<div class="ttc" id="classgf_1_1_parallel_activity_html"><div class="ttname"><a href="classgf_1_1_parallel_activity.html">gf::ParallelActivity</a></div><div class="ttdoc">An activity to run several activities in parallel. </div><div class="ttdef"><b>Definition:</b> Activities.h:498</div></div>
<div class="ttc" id="structgf_1_1_vector_3_01_t_00_014_01_4_html"><div class="ttname"><a href="structgf_1_1_vector_3_01_t_00_014_01_4.html">gf::Vector< T, 4 ></a></div><div class="ttdoc">A 4D vector. </div><div class="ttdef"><b>Definition:</b> Vector.h:838</div></div>
<div class="ttc" id="classgf_1_1_rotate_to_activity_html_ac1068f35ca0c3ff5141267b666b1e708"><div class="ttname"><a href="classgf_1_1_rotate_to_activity.html#ac1068f35ca0c3ff5141267b666b1e708">gf::RotateToActivity::setTarget</a></div><div class="ttdeci">void setTarget(float target)</div><div class="ttdoc">Change the target of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:164</div></div>
<div class="ttc" id="group__core_html_ga956e20c5e2e9435c5c40dda37f672f32"><div class="ttname"><a href="group__core.html#ga956e20c5e2e9435c5c40dda37f672f32">gf::Easing</a></div><div class="ttdeci">float(*)(float) Easing</div><div class="ttdoc">An easing function. </div><div class="ttdef"><b>Definition:</b> Easings.h:48</div></div>
<div class="ttc" id="classgf_1_1_move_to_activity_html_a807e0a1d88ef5adcbe847cda8cdbf7af"><div class="ttname"><a href="classgf_1_1_move_to_activity.html#a807e0a1d88ef5adcbe847cda8cdbf7af">gf::MoveToActivity::setDuration</a></div><div class="ttdeci">void setDuration(Time duration)</div><div class="ttdoc">Change the duration of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:267</div></div>
<div class="ttc" id="group__core_html_ga5faffaaaf7ee50028d8a0825da41e711"><div class="ttname"><a href="group__core.html#ga5faffaaaf7ee50028d8a0825da41e711">gf::Any</a></div><div class="ttdeci">constexpr AnyType Any</div><div class="ttdoc">Constant to represent "any". </div><div class="ttdef"><b>Definition:</b> Types.h:77</div></div>
<div class="ttc" id="classgf_1_1_move_to_activity_html_ac5f0633e985fe46bae87d729792cf5be"><div class="ttname"><a href="classgf_1_1_move_to_activity.html#ac5f0633e985fe46bae87d729792cf5be">gf::MoveToActivity::getOrigin</a></div><div class="ttdeci">Vector2f getOrigin() const noexcept</div><div class="ttdoc">Get the origin of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:240</div></div>
<div class="ttc" id="classgf_1_1_color_activity_html_a2341cac2533f5e291fb2012b9b3dd952"><div class="ttname"><a href="classgf_1_1_color_activity.html#a2341cac2533f5e291fb2012b9b3dd952">gf::ColorActivity::setDuration</a></div><div class="ttdeci">void setDuration(Time duration)</div><div class="ttdoc">Change the duration of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:348</div></div>
<div class="ttc" id="classgf_1_1_color_activity_html"><div class="ttname"><a href="classgf_1_1_color_activity.html">gf::ColorActivity</a></div><div class="ttdoc">An activity for a change of color. </div><div class="ttdef"><b>Definition:</b> Activities.h:294</div></div>
<div class="ttc" id="classgf_1_1_sequence_activity_html"><div class="ttname"><a href="classgf_1_1_sequence_activity.html">gf::SequenceActivity</a></div><div class="ttdoc">An activity to run several activities sequentially. </div><div class="ttdef"><b>Definition:</b> Activities.h:417</div></div>
<div class="ttc" id="classgf_1_1_value_activity_html"><div class="ttname"><a href="classgf_1_1_value_activity.html">gf::ValueActivity</a></div><div class="ttdoc">An activity for a simple float value. </div><div class="ttdef"><b>Definition:</b> Activities.h:44</div></div>
<div class="ttc" id="classgf_1_1_callback_activity_html"><div class="ttname"><a href="classgf_1_1_callback_activity.html">gf::CallbackActivity</a></div><div class="ttdoc">An activity for calling a function once. </div><div class="ttdef"><b>Definition:</b> Activities.h:373</div></div>
<div class="ttc" id="classgf_1_1_tween_html"><div class="ttname"><a href="classgf_1_1_tween.html">gf::Tween< float ></a></div></div>
<div class="ttc" id="structgf_1_1_vector_html"><div class="ttname"><a href="structgf_1_1_vector.html">gf::Vector</a></div><div class="ttdoc">General purpose math vector. </div><div class="ttdef"><b>Definition:</b> Vector.h:61</div></div>
<div class="ttc" id="classgf_1_1_value_activity_html_a331bc2e14aee56b786f0c25b50649cba"><div class="ttname"><a href="classgf_1_1_value_activity.html#a331bc2e14aee56b786f0c25b50649cba">gf::ValueActivity::getTarget</a></div><div class="ttdeci">float getTarget() const noexcept</div><div class="ttdoc">Get the target of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:89</div></div>
<div class="ttc" id="classgf_1_1_value_activity_html_ab1b4b8f1f7eaf3511b846f5dcb10ee5b"><div class="ttname"><a href="classgf_1_1_value_activity.html#ab1b4b8f1f7eaf3511b846f5dcb10ee5b">gf::ValueActivity::getOrigin</a></div><div class="ttdeci">float getOrigin() const noexcept</div><div class="ttdoc">Get the origin of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:71</div></div>
<div class="ttc" id="classgf_1_1_rotate_to_activity_html_a7a5b8688942555f3a1b4507bbbc98984"><div class="ttname"><a href="classgf_1_1_rotate_to_activity.html#a7a5b8688942555f3a1b4507bbbc98984">gf::RotateToActivity::getOrigin</a></div><div class="ttdeci">float getOrigin() const noexcept</div><div class="ttdoc">Get the origin of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:155</div></div>
<div class="ttc" id="classgf_1_1_activity_html"><div class="ttname"><a href="classgf_1_1_activity.html">gf::Activity</a></div><div class="ttdoc">A game activity. </div><div class="ttdef"><b>Definition:</b> Activity.h:62</div></div>
<div class="ttc" id="classgf_1_1_rotate_to_activity_html_a017a25f178f34a605e1b6f2684675c7d"><div class="ttname"><a href="classgf_1_1_rotate_to_activity.html#a017a25f178f34a605e1b6f2684675c7d">gf::RotateToActivity::getTarget</a></div><div class="ttdeci">float getTarget() const noexcept</div><div class="ttdoc">Get the target of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:174</div></div>
<div class="ttc" id="classgf_1_1_move_to_activity_html_a9c7d45004c7f8bd4d38eb936be458348"><div class="ttname"><a href="classgf_1_1_move_to_activity.html#a9c7d45004c7f8bd4d38eb936be458348">gf::MoveToActivity::setTarget</a></div><div class="ttdeci">void setTarget(Vector2f target)</div><div class="ttdoc">Change the target of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:249</div></div>
<div class="ttc" id="classgf_1_1_color_activity_html_a0a813fd70b1555c223d715f8a93b7a6a"><div class="ttname"><a href="classgf_1_1_color_activity.html#a0a813fd70b1555c223d715f8a93b7a6a">gf::ColorActivity::getOrigin</a></div><div class="ttdeci">Color4f getOrigin() const noexcept</div><div class="ttdoc">Get the origin of the activity. </div><div class="ttdef"><b>Definition:</b> Activities.h:321</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>