![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
小游戏
形形色色的人
这个作者很懒,什么都没留下…
展开
-
tank game V0.1
package cn.demo;import java.awt.*;import java.awt.event.*;import java.util.*;import javax.swing.*;class MyPanel extends JPanel implements KeyListener, Runnable { Tank tank = null; Vector bo原创 2016-08-19 16:46:56 · 388 阅读 · 0 评论 -
Tank Game V0.2
package cn.demo;import java.awt.Color;import java.awt.Graphics;import java.awt.Image;import java.awt.Rectangle;import java.awt.event.KeyEvent;import java.awt.event.KeyListener;import java.io.F原创 2016-08-22 14:22:16 · 350 阅读 · 0 评论 -
Tank Game bug
public boolean isTouchOtherEnemy() { boolean b = false; for (int i = 0; i < ets.size(); i++) { EnemyTank tank = ets.get(i); if (tank != this) { if (this.x >= tank.x && this.x = tank.y &原创 2016-08-22 15:57:28 · 379 阅读 · 0 评论