Exemple #1
0
        public Map(Size size, int seed, List<TileType> baseTiles)
        {
            Size = size;
            Seed = seed;
            Tiles = new Dictionary<Point, Tile>();
            Players = new Dictionary<Point, Player>();

            TileFactory.SetMapSeed(Seed);

            BuildTiles(baseTiles);
        }
Exemple #2
0
 public Map(Size size, int seed)
     : this(size, seed, new List<TileType> { TileType.Desert, TileType.Forest, TileType.Mountain, TileType.Plain })
 {
 }