/// <summary>Creates a state.</summary> public static State Create(Map map) { return(Create( 0, Hero.Initial(map, PlayerType.Hero1), Hero.Initial(map, PlayerType.Hero2), Hero.Initial(map, PlayerType.Hero3), Hero.Initial(map, PlayerType.Hero4), MineOwnership.Create(map))); }
/// <summary>Creates mine ownership from tiles.</summary> public IMineOwnership UpdateFromTiles(string tiles) { IMineOwnership mines = MineOwnership20.Empty; return(MineOwnership.UpdateFromTiles(mines, tiles)); }
public string ToString(int length) { return(MineOwnership.ToString(this, length)); }