Esempio n. 1
0
 public PaddleMultiplayer(int index, Vector2 startPosition) : base(index, startPosition)
 {
     _pongMultiplayerManager = (PongMultiplayerManager)ServiceLocator.Get <PongManager>();
     _networkGameManager     = ServiceLocator.Get <NetworkGameManager>();
 }
Esempio n. 2
0
 public BallMultiplayer(Vector2 startPosition, float size, float speed, float speedIncrement) : base(startPosition, size, speed,
                                                                                                     speedIncrement)
 {
     _pongMultiplayerManager = (PongMultiplayerManager)PongManager;
 }