• 大小: 31.44M
    文件类型: .zip
    金币: 2
    下载: 0 次
    发布日期: 2024-02-03
  • 语言: 其他
  • 标签: 其他  

资源简介

tank-war.zip

资源截图

代码片段和文件信息


import javafx.scene.paint.Color;
import javafx.scene.shape.Circle;
//爆炸类
public class Explode extends Fighter {

Circle explodeBody;
double[] r = {2591341};
int step = 0;

public Explode(double x double y) {
circleX = x;
circleY = y;

explodeBody = new Circle(circleXcircleY1Color.ORANGE);
this.getChildren().add(explodeBody);

}

public void move() {

if(step == 6) {
step = 0;
this.live = false;
this.setVisible(false);
}

explodeBody.setRadius(r[step]);
step ++;
}

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-06-28 10:16  tank-war\
     文件         384  2018-06-20 17:55  tank-war\.classpath
     文件         572  2018-06-20 17:55  tank-war\.project
     目录           0  2018-06-28 10:16  tank-war\.settings\
     文件         598  2018-06-20 17:55  tank-war\.settings\org.eclipse.jdt.core.prefs
     目录           0  2018-06-28 10:16  tank-war\bin\
     文件         312  2018-06-20 17:55  tank-war\bin\application.css
     文件        1142  2018-06-20 17:55  tank-war\bin\Explode.class
     文件        1307  2018-06-20 17:55  tank-war\bin\Fighter$Direction.class
     文件        1057  2018-06-20 17:55  tank-war\bin\Fighter.class
     文件        5281  2018-06-20 17:55  tank-war\bin\Missile.class
     目录           0  2018-06-28 10:16  tank-war\bin\missilePNG\
     文件       18762  2018-06-20 17:55  tank-war\bin\missilePNG\badMissile_D.png
     文件       18646  2018-06-20 17:55  tank-war\bin\missilePNG\badMissile_DL.png
     文件       19162  2018-06-20 17:55  tank-war\bin\missilePNG\badMissile_DR.png
     文件       18716  2018-06-20 17:55  tank-war\bin\missilePNG\badMissile_L.png
     文件       18713  2018-06-20 17:55  tank-war\bin\missilePNG\badMissile_R.png
     文件       18763  2018-06-20 17:55  tank-war\bin\missilePNG\badMissile_U.png
     文件       19135  2018-06-20 17:55  tank-war\bin\missilePNG\badMissile_UL.png
     文件       19106  2018-06-20 17:55  tank-war\bin\missilePNG\badMissile_UR.png
     文件       15793  2018-06-20 17:55  tank-war\bin\missilePNG\C25_Marrugo_missile_burst.png
     文件       18276  2018-06-20 17:55  tank-war\bin\missilePNG\goodMissile_D.png
     文件       18622  2018-06-20 17:55  tank-war\bin\missilePNG\goodMissile_DL.png
     文件       18653  2018-06-20 17:55  tank-war\bin\missilePNG\goodMissile_DR.png
     文件       18217  2018-06-20 17:55  tank-war\bin\missilePNG\goodMissile_L.png
     文件       18225  2018-06-20 17:55  tank-war\bin\missilePNG\goodMissile_R.png
     文件       18296  2018-06-20 17:55  tank-war\bin\missilePNG\goodMissile_U.png
     文件       18626  2018-06-20 17:55  tank-war\bin\missilePNG\goodMissile_UL.png
     文件       18633  2018-06-20 17:55  tank-war\bin\missilePNG\goodMissile_UR.png
     目录           0  2018-06-28 10:16  tank-war\bin\music\
     文件         868  2018-06-20 17:55  tank-war\bin\music.class
............此处省略103个文件信息

评论

共有 条评论