public Tile(TileClass tc, int id) { ID = id; tileClass = tc; rotation = 0; Pos = null; }
public BigTile(TileClass tc, Tile lt, Tile rt, Tile lb, Tile rb, int id) { ID = id; tileClass = tc; LeftTop = lt; RightTop = rt; LeftBottom = lb; RightBottom = rb; rotation = 0; Pos = null; }
public bool Equals(TileClass tc) { if (this.Left != tc.Left) return false; if (this.Right != tc.Right) return false; if (this.Top != tc.Top) return false; if (this.Bottom != tc.Bottom) return false; return true; }