资源简介

坦克大战小游戏源码下载

资源截图

代码片段和文件信息

import java.awt.Graphics;
import java.awt.Image;
import java.awt.Toolkit;

public class BombTank {
private int x y;
private boolean live = true; // 初始状态为活着的
private TankClient tc;
private static Toolkit tk = Toolkit.getDefaultToolkit();

private static Image[] imgs = { // 存储爆炸图片 从小到大的爆炸效果图
tk.getImage(BombTank.class.getClassLoader().getResource(
“images/1.gif“))
tk.getImage(BombTank.class.getClassLoader().getResource(
“images/2.gif“))
tk.getImage(BombTank.class.getClassLoader().getResource(
“images/3.gif“))
tk.getImage(BombTank.class.getClassLoader().getResource(
“images/4.gif“))
tk.getImage(BombTank.class.getClassLoader().getResource(
“images/5.gif“))
tk.getImage(BombTank.class.getClassLoader().getResource(

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-06-15 09:55  TanKeWar\
     文件         232  2011-10-23 09:54  TanKeWar\.classpath
     文件         384  2011-10-04 13:23  TanKeWar\.project
     目录           0  2017-06-08 10:57  TanKeWar\.settings\
     文件         137  2011-10-03 13:05  TanKeWar\.settings\org.eclipse.ltk.core.refactoring.prefs
     目录           0  2017-11-10 10:30  TanKeWar\bin\
     文件        1927  2011-10-23 09:54  TanKeWar\bin\BombTank.class
     文件        4986  2011-10-23 09:54  TanKeWar\bin\Bullets.class
     文件        1359  2011-10-23 09:54  TanKeWar\bin\CommonWall.class
     文件        1022  2011-10-23 09:54  TanKeWar\bin\Direction.class
     文件        2022  2011-10-23 09:54  TanKeWar\bin\GetBlood.class
     文件        2760  2011-10-23 09:54  TanKeWar\bin\Home.class
     目录           0  2017-11-10 10:30  TanKeWar\bin\Images\
     文件         824  2011-10-03 08:07  TanKeWar\bin\Images\0.gif
     文件         868  2011-10-03 08:07  TanKeWar\bin\Images\1.gif
     文件        1184  2011-10-03 08:07  TanKeWar\bin\Images\10.gif
     文件         936  2011-10-03 08:07  TanKeWar\bin\Images\2.gif
     文件        1026  2011-10-03 08:07  TanKeWar\bin\Images\3.gif
     文件        1086  2011-10-03 08:07  TanKeWar\bin\Images\4.gif
     文件        1151  2011-10-03 08:07  TanKeWar\bin\Images\5.gif
     文件        1212  2011-10-03 08:07  TanKeWar\bin\Images\6.gif
     文件        1261  2011-10-03 08:07  TanKeWar\bin\Images\7.gif
     文件        1309  2011-10-03 08:07  TanKeWar\bin\Images\8.gif
     文件        1342  2011-10-03 08:07  TanKeWar\bin\Images\9.gif
     文件         855  2011-10-03 08:07  TanKeWar\bin\Images\bulletD.gif
     文件         839  2011-10-03 08:07  TanKeWar\bin\Images\bulletL.gif
     文件         864  2011-10-03 08:07  TanKeWar\bin\Images\bulletLD.gif
     文件         863  2011-10-03 08:07  TanKeWar\bin\Images\bulletLU.gif
     文件         839  2011-10-03 08:07  TanKeWar\bin\Images\bulletR.gif
     文件         861  2011-10-03 08:07  TanKeWar\bin\Images\bulletRD.gif
     文件         863  2011-10-03 08:07  TanKeWar\bin\Images\bulletRU.gif
............此处省略72个文件信息

评论

共有 条评论