Пример #1
0
 public GameScreen()
 {
     playerPaddle = new Paddle(new Vector2(20, 275), 8, true);
     watsonPaddle = new Paddle(new Vector2(780, 275), 8, false);
     ball = new Ball(6);
     screenState = GameScreenState.Playing;
 }
Пример #2
0
 internal void AttachTo(Paddle paddle)
 {
     attachedToPaddle = paddle;
 }