Class Java2DRenderer

  • All Implemented Interfaces:
    Renderer

    public class Java2DRenderer
    extends java.lang.Object
    implements Renderer
    Implementation of a renderer that uses APIs from the Java standard library. Graphics are displayed using Java 2D, AWT is used to create windows and capture keyboard events, and Java Sound is used to play audio.

    The renderer will use two different threads: the rendering thread is used to update the graphics, while the Swing thread is used to listen for user input.