Class PongUI

    • Constructor Detail

      • PongUI

        public PongUI​(org.kie.api.runtime.KieSession ksession,
                      GameConfiguration conf)
    • Method Detail

      • init

        public void init()
        Description copied from class: GameUI
        Initialize the contents of the frame.
        Overrides:
        init in class GameUI
      • drawTable

        public void drawTable()
      • drawBall

        public void drawBall​(Ball ball)
      • drawBat

        public void drawBat​(Bat bat)
      • drawScore

        public void drawScore​(Player p,
                              int x)