Interface GameWindow.ResolutionChangedListener

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

@FunctionalInterface
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.
      Parameters:
      resolution - The new resolution.