/********* ** Public methods *********/ /// <summary>Construct an instance.</summary> /// <param name="config">The data layer settings.</param> public AccessibleLayer(LayerConfig config) : base(I18n.Accessible_Name(), config) { this.Legend = new[] { this.Clear = new LegendEntry(I18n.Keys.Accessible_Clear, Color.Green), this.Occupied = new LegendEntry(I18n.Keys.Accessible_Occupied, I18n.Accessible_Occupied(), Color.Orange), this.Impassable = new LegendEntry(I18n.Keys.Accessible_Impassable, I18n.Accessible_Impassable(), Color.Red), this.Warp = new LegendEntry(I18n.Keys.Accessible_Warp, I18n.Accessible_Warp(), Color.Blue) }; }