public PlayerScoredBallState(IBallController ballController, PlayerIndex playerIndex, IGameManager gameManager) { _ballController = ballController; _playerIndex = playerIndex; _gameManager = gameManager; GameScore = gameManager["GameScore"] as GameScore; }
//private TextureManager _textureManager; #endregion #region Ctors public PlayingView(Microsoft.Xna.Framework.Game game) : base(game) { _entities = new List<ISpriteEntity>(); camera = new Camera2D(Game); _gameScore = new GameScore(); _hud = new HudView(Game); }
public PlayerScoredBallState(GameScore gameScore, PlayerIndex playerIndex) { _playerIndex = playerIndex; GameScore = gameScore; }
public PongGameManager(Microsoft.Xna.Framework.Game game) : base(game) { GameScore = new GameScore(); }