Class FPanelMapMove.FPanelListenMove

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Enclosing class:
FPanelMapMove

class FPanelMapMove.FPanelListenMove extends FPanel
Panel used to listen mouse move.
The mouse listeners will update speed depending of how close of the border we are.
Author:
Hydrolien
  • Field Details

    • inX

      private boolean inX
    • up

      private boolean up
  • Constructor Details

    • FPanelListenMove

      public FPanelListenMove(boolean inX, boolean up, boolean both, boolean up2)
      Main constructor with mouse listeners.
      Parameters:
      inX - true if we are moving in x
      up - true if we are moving up
      both - true if we are moving in x & in y
      up2 - true if we are moving up for the 2a direction If this is big enoth, the mouse listeners will update speed depending of how close of the border we are. Or stop it if we leave the panel.
    • FPanelListenMove

      public FPanelListenMove(boolean inX, boolean up)
      Main constructor with mouse listeners.
      Parameters:
      inX - true if we are moving in x
      up - true if we are moving up If this is big enoth, the mouse listeners will update speed depending of how close of the border we are. Or stop it if we leave the panel.