Exemple #1
0
 public void PaddleCollide(Paddle myPaddle)
 {
     mBall.VelocityDirection = mBall.Center - myPaddle.mPaddle.Center;
 }
Exemple #2
0
 protected override void InitializeWorld()
 {
     mMyPaddle = new Paddle();
     World.SetWorldCoordinate(new Vector2(0f, 0f), kWorldWidth);
     EchoToTopStatus("");
 }