public FloorLayer(TabMap TabMap) { this.TabMap = TabMap; LayerHeights = new int[] { 100 }; Opacity.Add(100, 1); Redraw = true; }
public PathLayer(TabMap TabMap) { this.TabMap = TabMap; LayerHeights = new int[] { 25, 50, 75, 125, 150 }; Opacity.Add(25, 1f); Opacity.Add(50, 1f); Opacity.Add(75, 1f); Opacity.Add(125, 1f); Opacity.Add(150, 1f); Redraw = true; TabMap.Layers.Add(this); }