Class TestPanelJ2D

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, TestbedPanel

public class TestPanelJ2D extends JPanel implements TestbedPanel
Author:
Daniel Murphy
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getDebugDraw

      public DebugDraw getDebugDraw()
      Description copied from interface: TestbedPanel
      Gets the display-specific debug draw
      Specified by:
      getDebugDraw in interface TestbedPanel
      Returns:
    • getDBGraphics

      public Graphics2D getDBGraphics()
    • render

      public boolean render()
      Description copied from interface: TestbedPanel
      Renders the world
      Specified by:
      render in interface TestbedPanel
      Returns:
      if the renderer is ready for drawing
    • paintScreen

      public void paintScreen()
      Description copied from interface: TestbedPanel
      Paints the rendered world to the screen
      Specified by:
      paintScreen in interface TestbedPanel