• 大小: 10.51M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-27
  • 语言: Java
  • 标签: 游戏  java  

资源简介

学习java入门知识点集合

资源截图

代码片段和文件信息

package com.tarena.shoot;

import java.util.Random;

public class Airplane extends Flyingobject implements Enemy{

private int speed = 3;
public Airplane(){
image = ShootGame.airplane;
width = image.getWidth();
height  = image.getHeight();
Random ran = new Random();
x = ran.nextInt((ShootGame.WIDTH-this.width));
y = -height;

}
public int getScore() {
return 5;
}
@Override
public void step() {
y += speed;
}
@Override
public boolean outOfBounds() {
return y>ShootGame.HEIGHT;
}

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-04-27 09:59  飞机大战修改版\
     目录           0  2016-04-27 09:59  飞机大战修改版\.metadata\
     文件           0  2016-04-01 21:33  飞机大战修改版\.metadata\.lock
     文件       58590  2016-04-27 09:58  飞机大战修改版\.metadata\.log
     目录           0  2016-04-27 09:59  飞机大战修改版\.metadata\.me_tcat\
     目录           0  2016-04-27 09:58  飞机大战修改版\.metadata\.me_tcat\temp\
     目录           0  2016-04-27 09:59  飞机大战修改版\.metadata\.plugins\
     目录           0  2016-04-27 09:58  飞机大战修改版\.metadata\.plugins\com.genuitec.eclipse.easie.tomcat.myeclipse\
     目录           0  2016-04-27 09:59  飞机大战修改版\.metadata\.plugins\com.genuitec.eclipse.sqlexplorer\
     文件         828  2016-04-27 09:59  飞机大战修改版\.metadata\.plugins\com.genuitec.eclipse.sqlexplorer\ConnectionProfiles.xml
     文件       16644  2016-04-27 09:59  飞机大战修改版\.metadata\.plugins\com.genuitec.eclipse.sqlexplorer\SQLDrivers.xml
     目录           0  2016-04-27 09:58  飞机大战修改版\.metadata\.plugins\org.eclipse.birt.chart.engine\
     目录           0  2016-04-27 09:58  飞机大战修改版\.metadata\.plugins\org.eclipse.birt.report.viewer\
     目录           0  2016-04-27 09:59  飞机大战修改版\.metadata\.plugins\org.eclipse.core.resources\
     目录           0  2016-04-27 09:59  飞机大战修改版\.metadata\.plugins\org.eclipse.core.resources\.history\
     目录           0  2016-04-27 09:59  飞机大战修改版\.metadata\.plugins\org.eclipse.core.resources\.history\0\
     文件         421  2016-04-26 10:29  飞机大战修改版\.metadata\.plugins\org.eclipse.core.resources\.history\0\c0edd8c5560b00161e66ac5f0bf139d2
     目录           0  2016-04-27 09:59  飞机大战修改版\.metadata\.plugins\org.eclipse.core.resources\.history\1\
     目录           0  2016-04-27 09:59  飞机大战修改版\.metadata\.plugins\org.eclipse.core.resources\.history\10\
     文件         181  2016-04-26 10:33  飞机大战修改版\.metadata\.plugins\org.eclipse.core.resources\.history\10\30c45741570b00161e66ac5f0bf139d2
     文件         636  2016-04-25 13:51  飞机大战修改版\.metadata\.plugins\org.eclipse.core.resources\.history\10\70fdc6bba90a0016141e9e2330f9bad3
     目录           0  2016-04-27 09:59  飞机大战修改版\.metadata\.plugins\org.eclipse.core.resources\.history\11\
     文件         750  2016-04-26 08:48  飞机大战修改版\.metadata\.plugins\org.eclipse.core.resources\.history\11\00435eaf480b00161e66ac5f0bf139d2
     目录           0  2016-04-16 08:40  飞机大战修改版\.metadata\.plugins\org.eclipse.core.resources\.history\12\
     目录           0  2016-04-27 09:59  飞机大战修改版\.metadata\.plugins\org.eclipse.core.resources\.history\13\
     文件         542  2016-04-23 13:40  飞机大战修改版\.metadata\.plugins\org.eclipse.core.resources\.history\13\80892b5bfb0900161d3aa4206fa9d2ad
     文件        2009  2016-04-26 09:07  飞机大战修改版\.metadata\.plugins\org.eclipse.core.resources\.history\13\b0562e644b0b00161e66ac5f0bf139d2
     目录           0  2016-04-27 09:59  飞机大战修改版\.metadata\.plugins\org.eclipse.core.resources\.history\14\
     文件         585  2016-04-23 09:28  飞机大战修改版\.metadata\.plugins\org.eclipse.core.resources\.history\14\30c1d2e9f20800161e15c19cdfb286bd
     目录           0  2016-04-27 09:59  飞机大战修改版\.metadata\.plugins\org.eclipse.core.resources\.history\15\
     文件           0  2016-04-24 14:32  飞机大战修改版\.metadata\.plugins\org.eclipse.core.resources\.history\15\0094f949e60900161d3aa4206fa9d2ad
............此处省略912个文件信息

评论

共有 条评论