package battlecraft.entity.tile;

import java.awt.Canvas;
import java.awt.Point;
import java.awt.Rectangle;
import java.util.Arrays;

import gameframework.core.GameEntity;

public class TileFactory implements ITileFactory {
	
	private int[] solid = {44,48,49,47};

	public TileFactory() {
	}

	@Override
	public GameEntity createForestTile(Canvas defaultCanvas, Point position, int number) {
		Rectangle bb = new Rectangle(1,0,1,1);
		String imagePath = "images/Medieval/Tile/49.png";
		return new MoveBlockerTile(defaultCanvas, position, imagePath, bb);
	}

	@Override
	public GameEntity createLandTile(Canvas defaultCanvas, Point position, int number) {
		String imagePath = "images/Medieval/Tile/59.png";
		return new Tile(defaultCanvas, position, imagePath);
	}
}

@@ -398,17 +398,26 @@
 tangle b
-b
+oundingBox
  = new R
@@ -425,17 +425,17 @@
 ctangle(
-1
+0
 ,0,1,1);
@@ -553,17 +553,26 @@
 ePath, b
-b
+oundingBox
 );%0A%09%7D%0A%0A%09

fix bondingbox