public RandomMapConfiguration(ParseBlock Block) { var attributes = Block.BreakToAttributes <object>(typeof(Attribute)); Width = (int)attributes[(int)Attribute.WIDTH]; Height = (int)attributes[(int)Attribute.HEIGHT]; Setting = (MatchSetting)attributes[(int)Attribute.MATCH_SETTING]; }
public ScenarioParameters( uint Year, MatchSetting Setting, byte Turns, Coordinate MapSize, bool FogOfWar) { this.Year = Year; this.Setting = Setting; this.Turns = Turns; this.MapSize = MapSize; this.FogOfWar = FogOfWar; }
public RandomMapConfiguration(int Width, int Height, MatchSetting Setting) { this.Width = Width; this.Height = Height; this.Setting = Setting; }
public static string Describe(MatchSetting Setting) { return(Describe(Setting.UniqueKey, '-')); }