public Chapa(int x, int y) {
position = new Vector3(x, y, 0);
velocity = new Vector3(0, 0, 0);
texture = new Texture("chapaanimation.png");
birdAnimation = new Animation(new TextureRegion(texture), 3, 0.5f);
bounds = new Rectangle(x, y, texture.getWidth() / 3, texture.getHeight());
initSounds();
}
Chapa.java 文件源码
java
阅读 19
收藏 0
点赞 0
评论 0
项目:FlappyChapa
作者:
评论列表
文章目录