void SetLegoType_OverView(LegoColor legoColor) { switch (legoColor) { case LegoColor.Blue: myType_Detail_OverView = LandscapeType_OverView.Water; break; case LegoColor.Green: myType_Detail_OverView = LandscapeType_OverView.Nature; break; case LegoColor.Red: myType_Detail_OverView = LandscapeType_OverView.Building; break; case LegoColor.White: myType_Detail_OverView = LandscapeType_OverView.Road; break; /*case LegoColor.None: * myType_Detail_OverView = LandscapeType_OverView.Spaces; * break;*/ default: myType_Detail_OverView = LandscapeType_OverView.Spaces; break; } }
public LandscapeLegoInfo(LegoColor lc) { SetLegoType_OverView(lc); myType_Detail = LandscapeType_Details.Space; north = south = east = west = LandscapeType_OverView.Spaces; myDirection = Direction.North; height = 0; }