other various changes
This commit is contained in:
45
src-java/play_clj/Animation2.java
Normal file
45
src-java/play_clj/Animation2.java
Normal file
@@ -0,0 +1,45 @@
|
||||
package play_clj;
|
||||
import com.badlogic.gdx.graphics.g2d.Animation;
|
||||
import java.util.Arrays;
|
||||
import com.badlogic.gdx.graphics.g2d.TextureRegion;
|
||||
import com.badlogic.gdx.utils.Array;
|
||||
|
||||
public class Animation2 extends Animation<TextureRegion> {
|
||||
public Animation2(float x ,TextureRegion[] y) {
|
||||
super(x, y);
|
||||
}
|
||||
|
||||
|
||||
public Animation2(float x , Array<? extends TextureRegion> y, Animation.PlayMode z) {
|
||||
super(x, y, z);
|
||||
}
|
||||
|
||||
public TextureRegion getKeyFrame(float stateTime) {
|
||||
return super.getKeyFrame(stateTime);
|
||||
}
|
||||
|
||||
public TextureRegion getKeyFrame(float stateTime, boolean looping) {
|
||||
return super.getKeyFrame(stateTime, looping);
|
||||
}
|
||||
|
||||
|
||||
public TextureRegion getKeyFrame(double stateTime) {
|
||||
return super.getKeyFrame((float) stateTime);
|
||||
}
|
||||
|
||||
public TextureRegion getKeyFrame(double stateTime, boolean looping) {
|
||||
return super.getKeyFrame((float)stateTime, looping);
|
||||
}
|
||||
|
||||
public TextureRegion getKeyFrame(int stateTime) {
|
||||
return super.getKeyFrame((float)stateTime);
|
||||
}
|
||||
|
||||
public TextureRegion getKeyFrame(int stateTime, boolean looping) {
|
||||
return super.getKeyFrame((float)stateTime, looping);
|
||||
}
|
||||
|
||||
public Object[] getRawKeyFrames() {
|
||||
return super.getKeyFrames();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user