Package ponkOut.logic

Examples of ponkOut.logic.GameBall


    new WallPaddle(Paddle.Place.RIGHT, goManager);
    new WallPaddle(Paddle.Place.TOP, goManager);

    PlayerPaddle p1 = new PlayerPaddle(0, Paddle.Place.BOTTOM, goManager);
    PlayerPaddle p2 = new PlayerPaddle(1, Paddle.Place.LEFT, goManager);
    new GameBall(p1, goManager);
    new GameBall(p2, goManager);

    new GameBall(new Vector2f(9.0f, 9.0f), 0.5f, goManager);

    for (int i = -5; i <= 4; ++i)
      for (int j = -5; j <= 4 && i + j <= 6 && (i + j <= 5 || i == 4 || j == 4); ++j)
        new Block(new Vector2f(5.0f + i, 5.0f + j), 1.0f, 1.0f, goManager);
  }
View Full Code Here

TOP

Related Classes of ponkOut.logic.GameBall

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.