Exemplo n.º 1
0
        private static void AddGridSpot(string letter, int number, PlayerInfoModel model)
        {
            GridSpotModel spot = new GridSpotModel();

            spot.SpotLetter = letter;
            spot.SpotNumber = number;
            spot.Status     = GridSpotStatus.Empty;

            model.ShotGrid.Add(spot); // Adding spot object to a ShotGrid
        }
Exemplo n.º 2
0
        private static void AddGridSpot(PlayerInfoModel model, string letter, int number)
        {
            GridSpotModel spot = new GridSpotModel();

            spot.SpotLetter = letter;
            spot.SpotNumber = number;
            spot.Status     = GridSpotStatus.Empty;

            model.ShotGrid.Add(spot);
        }
Exemplo n.º 3
0
        private static void AddGridSpot(PlayerInfoModel model, string letter, int number)
        {
            var spot = new GridSpotModel
            {
                SpotLetter = letter,
                SpotNumber = number,
                Status     = GridSpotStatus.Empty
            };

            model.ShotGrid.Add(spot);
        }