public void drawTank(Image up,Image down,Image left,Image right,Tank tank){
		if( tank.getLastDir()==DirKey.Up ){
			gBuffer.drawImage(up, tank.getX(), tank.getY(), null);
		}
		else if( tank.getLastDir()==DirKey.Left ){
			gBuffer.drawImage(left, tank.getX(), tank.getY(), null);
		}
		else if( tank.getLastDir()==DirKey.Right ){
			gBuffer.drawImage(right, tank.getX(), tank.getY(), null);
		}
		else if( tank.getLastDir()==DirKey.Down ){
			gBuffer.drawImage(down, tank.getX(), tank.getY(), null);
		}
		final int dY=10;
		final int dY2=5;
		gBuffer.setColor(Color.GRAY);
		gBuffer.drawRect(tank.getX(),tank.getY()-dY, Tank.FULL_HP, 6);
		gBuffer.setFont(new Font("", Font.BOLD, 10));
		gBuffer.drawString(tank.getName(), tank.getX(), tank.getY()-dY-dY2);
		if( tank.getId()==id && tank.getType()==Tank.GENERAL ){
			gBuffer.setColor(new Color(0,162,232));
		}
		else if( tank.getType()!=Tank.GENERAL ){
			gBuffer.setColor(Color.BLACK);
		}
		else{
			gBuffer.setColor(new Color(237,28,36));
		}
		gBuffer.fillRect(tank.getX()+1,tank.getY()-dY+1, tank.getHp()-1, 5);
	}