public Terrain(TextureObject tex, Traversal t, int randomType, double traversalCost) {
		super(tex, 0, 0, 0, gridWidth, gridHeight, true);
		this.setAnimation(randomType);
		this.traversalCost = traversalCost;
		this.trav = t;
	}