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

资源简介

控制自己的小球球去吃比自己小的球球

资源截图

代码片段和文件信息

package chiqiuqiu.cn;



import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Toolkit;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;

 class Ball implements MouseMotionListenerMouseListener{
public static final int RIGHT_UP=1;
public static final int RIGHT_DOWN=2;
public static final int LEFT_DOWN=3;
public static final int LEFT_UP=4;
int x;
int y;
int d;
int r;
int g;
int b;
int speed;
Color ballColor;
int dir;
int meXmeY;
BallJPanel table=null;
int meD;

int mouseXmouseY;
int sleep=0;


int corde;
boolean listenerJudge=true;
int mmm=0;


 public Ball(BallJPanel table) {
// TODO Auto-generated constructor stub
// meD=30;
 this.table=tabl

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-12-29 17:12  qiuqiudazuozhan\
     文件         301  2017-12-29 17:12  qiuqiudazuozhan\.classpath
     文件         391  2017-12-29 17:12  qiuqiudazuozhan\.project
     目录           0  2017-12-29 17:12  qiuqiudazuozhan\.settings\
     文件         598  2017-12-29 17:12  qiuqiudazuozhan\.settings\org.eclipse.jdt.core.prefs
     目录           0  2017-12-29 17:12  qiuqiudazuozhan\bin\
     目录           0  2017-12-29 17:12  qiuqiudazuozhan\bin\chiqiuqiu\
     目录           0  2017-12-29 17:12  qiuqiudazuozhan\bin\chiqiuqiu\cn\
     文件        1500  2017-12-29 17:12  qiuqiudazuozhan\bin\chiqiuqiu\cn\Ball$1.class
     文件        3182  2017-12-29 17:12  qiuqiudazuozhan\bin\chiqiuqiu\cn\Ball.class
     文件         956  2017-12-29 17:12  qiuqiudazuozhan\bin\chiqiuqiu\cn\BallJframe.class
     文件         955  2017-12-29 17:12  qiuqiudazuozhan\bin\chiqiuqiu\cn\BallJPanel$1.class
     文件        1844  2017-12-29 17:12  qiuqiudazuozhan\bin\chiqiuqiu\cn\BallJPanel.class
     文件        2737  2017-12-29 17:12  qiuqiudazuozhan\bin\chiqiuqiu\cn\MyBall.class
     目录           0  2017-12-29 17:12  qiuqiudazuozhan\src\
     目录           0  2017-12-29 17:12  qiuqiudazuozhan\src\chiqiuqiu\
     目录           0  2017-12-29 11:53  qiuqiudazuozhan\src\chiqiuqiu\cn\
     文件        3548  2017-12-29 11:54  qiuqiudazuozhan\src\chiqiuqiu\cn\Ball.java
     文件         614  2017-12-29 11:54  qiuqiudazuozhan\src\chiqiuqiu\cn\BallJframe.java
     文件        2330  2017-12-29 11:54  qiuqiudazuozhan\src\chiqiuqiu\cn\BallJPanel.java
     文件        2069  2017-12-29 15:49  qiuqiudazuozhan\src\chiqiuqiu\cn\MyBall.java

评论

共有 条评论