public void move()  //Tankƶ
	{	
		if(this.isLive&&moveDir!=TANK_DIR.STOP)
		{
			tankDir=moveDir;
			switch(moveDir)
			{
				case U:
				{
					if(y>50)
					{
						oldy=y;
						y-=TANKSPEED;
						if(isHitWall()) {y=oldy;}
					} 
				}break;
				case D:
				{
					if(y<TankClient.WIN_HEIGHT-25)
					{
						oldy=y;
						y+=TANKSPEED;
						if(isHitWall()) {y=oldy;}
					}
				}break;
				case L:
				{
					if(x>25)
					{
						oldx=x;
						x-=TANKSPEED;
						if(isHitWall()) {x=oldx;}
					}
				}break;
				case R:
				{
					if(x<TankClient.WIN_WIDTH-25)
					{
						oldx=x;
						x+=TANKSPEED;
						if(isHitWall()) {x=oldx;}
					}
				}break;
				default:break;
			}
			
			if(this instanceof UserTank) { setTurretDir(tc.mousePoint); } //TankͲת
			else { setTurretDir(tankDir); }
			
			Item itemTemp=null;
			for(int i=0;i<tc.itemList.size();i++)  //ߵĴ
			{
				itemTemp=tc.itemList.get(i);
				if(this.getRect().intersects(itemTemp.getRect()))
				{
					itemTemp.eat(this);
				}
			}
		}
		this.hitDispose();  //Tankײ
	}