|
@@ -170,17 +170,6 @@ public class Animation {
|
170
|
170
|
frames = newArray;
|
171
|
171
|
}
|
172
|
172
|
|
173
|
|
- /* private void shiftSpace(int newFree) {
|
174
|
|
- AFrame temp = null;
|
175
|
|
- for (int i = newFree; i < (frames.length - 1); i++) {
|
176
|
|
- // Max i: vorletztes element
|
177
|
|
- AFrame tmp = frames[i];
|
178
|
|
- frames[i] = temp;
|
179
|
|
- temp = frames[i + 1];
|
180
|
|
- frames[i + 1] = tmp;
|
181
|
|
- }
|
182
|
|
- } */
|
183
|
|
-
|
184
|
173
|
private void shiftOver(int toForget) {
|
185
|
174
|
for (int i = (toForget + 1); i < frames.length; i++) {
|
186
|
175
|
frames[i - 1] = frames[i];
|