content: package tanks.obstacle;
  
  import tanks.Drawing;
  import tanks.Game;
  import tanks.gui.screen.ScreenCrusadeDetails;
  import tanks.gui.screen.ScreenCrusadeStats;
  
  public class ObstacleUnknown extends Obstacle
  {
  	public String metadata;
  
  	public ObstacleUnknown(String name, double posX, double posY) 
  	{
  		super(name, posX, posY);
  
  		this.replaceTiles = false;
  		this.colorR = 255;
  		this.colorG = 0;
  		this.colorB = 0;
  		this.destructible = false;
  		this.tankCollision = false;
  		this.bulletCollision = false;
  		this.batchDraw = false;
  
  		this.description = "A block which could not be identified";
  	}
  
  	@Override
  	public void draw3dOutline(double r, double g, double b, double a)
  	{
  
  	}
  
  	@Override
  	public void draw()
  	{
  		Drawing.drawing.setColor(this.colorR, this.colorG, this.colorB);
  		Drawing.drawing.setFontSize(12);
  
  		if (!(Game.screen instanceof ScreenCrusadeDetails || Game.screen instanceof ScreenCrusadeStats))
  			Drawing.drawing.drawText(this.posX, this.posY, this.name);
  
  		Drawing.drawing.setColor(this.colorR, this.colorG, this.colorB, 64);
  		Drawing.drawing.fillRect(this.posX, this.posY, draw_size, draw_size);
  	}
  
  	public double getTileHeight()
  	{
  		return 0;
  	}
  
  	@Override
  	public void setMetadata(String data)
  	{
  		this.metadata = data;
  	}
  }
   