-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathAnimation.java
More file actions
187 lines (164 loc) · 4.32 KB
/
Animation.java
File metadata and controls
187 lines (164 loc) · 4.32 KB
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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
package JAVARuntime;
//
/**
* @Author Lucas Leandro (ITsMagic Founder)
* MethodArgs filled by Carlos at 22-04-2022
*/
@ClassCategory(cat ={"Animations"})
public final class Animation {
//
public Animation() {
//
}
@JRDoc_EN("Returns the speed of the animation.")
@JRDoc_PT("Retorna a velocidade da animação.")
@HideGetSet
public float getSpeed(){
//
return 0;
//
//
}
@JRDoc_EN("Defines the speed of the animation.")
@JRDoc_PT("Define a velocidade da animação.")
@HideGetSet
@MethodArgs({"value"})
public void setSpeed(float value){
//
}
@JRDoc_EN("Returns the fps of the animation.")
@JRDoc_PT("Retorna o fps da animação.")
@HideGetSet
public float getFps(){
//
return 0;
//
//
}
@JRDoc_EN("Defines the fps of the animation.")
@JRDoc_PT("Define o fps da animação.")
@HideGetSet
@MethodArgs({"value"})
public void setFps(int value){
//
}
@JRDoc_EN("Plays the animation.")
@JRDoc_PT("Reproduz a animação.")
public void play(){
//
}
@JRDoc_EN("Plays the animation in a loop.")
@JRDoc_PT("Reproduz a animação em loop.")
public void playInLoop(){
//
}
@JRDoc_EN("Stops the animation.")
@JRDoc_PT("Para a animação.")
public void stop(){
//
}
@JRDoc_EN("Stops the looping animation.")
@JRDoc_PT("Para a animação em loop.")
public void stopLoop(){
//
}
@JRDoc_EN("Returns whether the animation is playing.")
@JRDoc_PT("Retorna se a animação está sendo reproduzida.")
public boolean isPlaying(){
//
return false;
//
//
}
@JRDoc_EN("Returns whether the animation is looping.")
@JRDoc_PT("Retorna se a animação está em loop.")
public boolean isLoop(){
//
return false;
//
//
}
@JRDoc_EN("Returns the current frame of the animation.")
@JRDoc_PT("Retorna o quadro atual da animação.")
@UnimplementedDoc
@HideGetSet
public float getFrameTime() {
//
return 0;
//
//
}
@JRDoc_EN("Sets the current frame of the animation.")
@JRDoc_PT("Define o quadro atual da animação.")
@UnimplementedDoc
@HideGetSet
@MethodArgs({"frameTime"})
public void setFrameTime(float t) {
//
}
@JRDoc_EN("Returns the frame count of the animation.")
@JRDoc_PT("Retorna a quantidade de quadros da animação.")
@UnimplementedDoc
@HideGetSet
public int getFrameCount() {
//
return 0;
//
//
}
@JRDoc_EN("Returns the animation frame at the specified index.")
@JRDoc_PT("Retorna o quadro da animação do índice especificado.")
@UnimplementedDoc
@MethodArgs({"index"})
public AnimationFrame getFrameAt(int index) {
//
return null;
//
//
}
@JRDoc_EN("Sets the index frame to the specified AnimationFrame.")
@JRDoc_PT("Define o quadro do índice para o AnimationFrame especificado.")
@UnimplementedDoc
@MethodArgs({"index","frame"})
public void setFrameAt(int index, AnimationFrame frame) {
//
}
@JRDoc_EN("Add the frame to the animation.")
@JRDoc_PT("Adiciona o frame na animação.")
@UnimplementedDoc
@MethodArgs({"frame"})
public void addFrame(AnimationFrame frame) {
//
}
@JRDoc_EN("Removes the frame from the animation.")
@JRDoc_PT("Remove o frame da animação.")
@UnimplementedDoc
@MethodArgs({"entry"})
public void removeFrame(AnimationFrame frame) {
//
}
@JRDoc_EN("Returns the length of the animation.")
@JRDoc_PT("Retorna a duração da animação.")
public int getLength() {
//
return 0;
//
//
}
@JRDoc_EN("Sorts animation frames. Call after modifying an animation.")
@JRDoc_PT("Reorganiza os frames da animação. Chame após modificar uma animação.")
@UnimplementedDoc
public void sortFrames(){
//
}
/// ABSTRACT
@JRDoc_EN("Load an AnimationFile.")
@JRDoc_PT("Carrega um AnimationFile.")
@MethodArgs({"file"})
public static Animation loadFile(AnimationFile file){
//
return null;
//
//
}
}