Interface GameWindow.ResolutionChangedListener

All Superinterfaces:
Enclosing class:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

public static interface GameWindow.ResolutionChangedListener
extends java.util.EventListener
This listener interface receives resolution changed events of the game window.
See Also:
GameWindow.onResolutionChanged(ResolutionChangedListener), GameWindow.setResolution(Resolution)
  • Method Summary

    Modifier and TypeMethodDescription
    voidresolutionChanged​(java.awt.Dimension resolution)
    Invoked when the resolution of the GameWindow changed.
  • Method Details

    • resolutionChanged

      void resolutionChanged​(java.awt.Dimension resolution)
      Invoked when the resolution of the GameWindow changed.
      resolution - The new resolution.