All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.lessvoid.nifty.slick2d.NiftyInputForwarding Maven / Gradle / Ivy

There is a newer version: 1.4.3
Show newest version
package de.lessvoid.nifty.slick2d;

import de.lessvoid.nifty.slick2d.input.ForwardingInputSystem;

import javax.annotation.Nullable;

/**
 * This interface defines the methods available in the game implementations to control how input events are send to the
 * Nifty-GUI or to the underlying game.
 */
public interface NiftyInputForwarding {
  /**
   * Get the control class that enables changing the way how the input events are send to the Nifty-GUI and to the
   * underlying game.
   *
   * @return the forwarding control instance
   */
  @Nullable
  ForwardingInputSystem getInputForwardingControl();

  /**
   * Check if input forwarding is supported.
   *
   * @return {@code true} in case input forwarding is supported
   */
  boolean isInputForwardingSupported();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy