public static GameManager CreateTheGame(AsteroidsGame game) { if (_gameManager == null) { _gameManager = new GameManager(game); } return(_gameManager); }
public static GameManager CreateTheGame(AsteroidsGame game) { if(_gameManager == null) { _gameManager = new GameManager(game); } return _gameManager; }
private GameManager(AsteroidsGame game) { _game = game; }
private void Form1_Load(object sender, EventArgs e) { _game = new AsteroidsGame(this, _gameController); GameManager.CreateTheGame(_game); _game.Run(); }
private GameManager(AsteroidsGame game) { _game = game; }