C# Класс BalloonsPop.GameModels.GameModel

Models the game by encapsulating a balloon field and information about user moves.
Наследование: IGameModel
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Clone ( ) : IGameModel

Provides a deep clone of the current instance.

GameModel ( IBalloon balloonFiller = null ) : System

Initializes a new instance of the GameModel class.

IncrementMoves ( ) : void

Increments the moves in the current game by one.

ResetUserMoves ( ) : void

Zeroes the moves in the current game.

Описание методов

Clone() публичный Метод

Provides a deep clone of the current instance.
public Clone ( ) : IGameModel
Результат IGameModel

GameModel() публичный Метод

Initializes a new instance of the GameModel class.
public GameModel ( IBalloon balloonFiller = null ) : System
balloonFiller IBalloon
Результат System

IncrementMoves() публичный Метод

Increments the moves in the current game by one.
public IncrementMoves ( ) : void
Результат void

ResetUserMoves() публичный Метод

Zeroes the moves in the current game.
public ResetUserMoves ( ) : void
Результат void