Interface TKSceneListener


public interface TKSceneListener
TKSceneListener - Listener for the Scene Peer TKScene to pass updates and events back to the scene
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedLocation(float x, float y)
    The scenes peer's location have changed so we need to update the scene
    void
    changedSize(float width, float height)
    The scenes peer's size have changed so we need to update the scene
    void
    menuEvent(double x, double y, double xAbs, double yAbs, boolean isKeyboardTrigger)
    Pass a key event to the scene to handle
  • Method Details

    • changedLocation

      void changedLocation(float x, float y)
      The scenes peer's location have changed so we need to update the scene
      Parameters:
      x - the new X
      y - The new Y
    • changedSize

      void changedSize(float width, float height)
      The scenes peer's size have changed so we need to update the scene
      Parameters:
      width - The new Width
      height - The new Height