public WallSpec(RectF wallRect) { m0000 = new WeldableTileSpriteSpec(false, false, false, false, wallRect.GetSubTile(new Point(3, 3), 5)); m1111 = new WeldableTileSpriteSpec(true, true, true, true, wallRect.GetSubTile(new Point(1, 1), 5)); m1010 = new WeldableTileSpriteSpec(true, false, true, false, wallRect.GetSubTile(new Point(3, 1), 5)); m0101 = new WeldableTileSpriteSpec(false, true, false, true, wallRect.GetSubTile(new Point(1, 3), 5)); m1000 = new WeldableTileSpriteSpec(true, false, false, false, wallRect.GetSubTile(new Point(3, 2), 5)); m0100 = new WeldableTileSpriteSpec(false, true, false, false, wallRect.GetSubTile(new Point(0, 3), 5)); m0010 = new WeldableTileSpriteSpec(false, false, true, false, wallRect.GetSubTile(new Point(3, 0), 5)); m0001 = new WeldableTileSpriteSpec(false, false, false, true, wallRect.GetSubTile(new Point(2, 3), 5)); m1100 = new WeldableTileSpriteSpec(true, true, false, false, wallRect.GetSubTile(new Point(0, 2), 5)); m0110 = new WeldableTileSpriteSpec(false, true, true, false, wallRect.GetSubTile(new Point(0, 0), 5)); m0011 = new WeldableTileSpriteSpec(false, false, true, true, wallRect.GetSubTile(new Point(2, 0), 5)); m1001 = new WeldableTileSpriteSpec(true, false, false, true, wallRect.GetSubTile(new Point(2, 2), 5)); m0111 = new WeldableTileSpriteSpec(false, true, true, true, wallRect.GetSubTile(new Point(1, 0), 5)); m1011 = new WeldableTileSpriteSpec(true, false, true, true, wallRect.GetSubTile(new Point(2, 1), 5)); m1101 = new WeldableTileSpriteSpec(true, true, false, true, wallRect.GetSubTile(new Point(1, 2), 5)); m1110 = new WeldableTileSpriteSpec(true, true, true, false, wallRect.GetSubTile(new Point(0, 1), 5)); specs = new [] { m0000, m1111, m1010, m0101, m1000, m0100, m0010, m0001, m1100, m0110, m0011, m1001, m0111, m1011, m1101, m1110 }; b01 = new SingleSpriteTileSpec(wallRect.GetSubTile(new Point(0, 4), 5)); b11 = new SingleSpriteTileSpec(wallRect.GetSubTile(new Point(1, 4), 5)); b10 = new SingleSpriteTileSpec(wallRect.GetSubTile(new Point(2, 4), 5)); b00 = new SingleSpriteTileSpec(wallRect.GetSubTile(new Point(3, 4), 5)); }