public void dead()
	{
		isLive=false;
		this.tankHitPoint.number=0;
			
		if((this instanceof BossRobotTank) && (!this.camp))
			switch(rn.nextInt(12))
			{case 0:
			    tc.itemList.add(new moneyItem(x,y,100,tc));break;
			case 1:
				tc.itemList.add(new HitPointItem(x,y,10,tc));break;
			case 2:
				tc.itemList.add(new ShotsItem(x,y,0,tc));break;
			case 3:
				tc.itemList.add(new ShotsItem(x,y,1,tc));break;
			case 4:
				tc.itemList.add(new freezeItem(x,y,5000,tc));break;
			case 5:
				tc.itemList.add(new shieldItem(x,y,tc));break;
			case 6:
			case 8:
				tc.itemList.add(new speedItem(x,y,0,tc));break;
			case 7:
			case 9:
				tc.itemList.add(new speedItem(x,y,1,tc));break;
			case 10:
				tc.itemList.add(new keyItem(x,y,tc));break;
			default:
					break;
				
			}
		
		else if((this instanceof BrainRobotTank) && (!this.camp))
		{
			switch(rn.nextInt(7))
			{
			case 0:
			case 1:
				break;
			case 2:
				tc.itemList.add(new HitPointItem(x,y,8,tc));break;
			case 3:
				tc.itemList.add(new freezeItem(x,y,3000,tc));break;
			case 4:
				tc.itemList.add(new shieldItem(x,y,tc));break;
				default:break;
			}
		}
		else if((this instanceof RobotTank) && (!this.camp))
		{
			switch(rn.nextInt(6))
			{
			case 0:break;
			case 1:
				tc.itemList.add(new keyItem(x,y,tc));break;
			case 2:
				tc.itemList.add(new shieldItem(x,y,tc));break;
			case 3:
				break;
			case 4:
				tc.itemList.add(new speedItem(x,y,1,tc));break;
			}
		}
		tankBomb=new TankBomb(x-64,y-64,this);
		
	}