精选优质文档-倾情为你奉上package com.bjsxt.tank;import java.awt.*;import java.awt.event.*;import java.util.List;import java.util.ArrayList;/* * 这个类的作用是坦克游戏的主窗口 * author mashibing * */public class TankClient extends Frame /* * 整个坦克游戏的宽度 */public static final int GAME_WIDTH = 800;public static final int GAME_HEIGHT = 600;Tank myTank = new Tank(50, 50, true, Tank.Direction.STOP, this);Wall w1 = new Wall(100, 200, 20, 150, this), w2 = new Wall(300, 10