public Board(Player player, int extent, BikeList bikes) { this.Player = player; this.TileExtent = extent; this.Bikes = bikes; Setup(); }
private static BikeList GenerateBikes() { var bikes = new BikeList(); var rnd = new Random(); for (int i = 0; i < 5; i++) { bikes.Add(new Bike(rnd.Next(0, _boardExtent), rnd.Next(0, _boardExtent))); } return(bikes); }