Package de.lessvoid.nifty.input

Examples of de.lessvoid.nifty.input.NiftyMouseInputEvent


        case 0: button0Down = buttonDown; break;
        case 1: button1Down = buttonDown; break;
        case 2: button2Down = buttonDown; break;
      }

      NiftyMouseInputEvent result = pool.allocate();
      result.initialize(mouseX, mouseY, mouseWheel, button0Down, button1Down, button2Down);
      return result;
    }
View Full Code Here


  public boolean hasLastMouseDownEvent() {
    return !hadAnyEvents && (lastButtonDown0 || lastButtonDown1 || lastButtonDown2);
  }

  public NiftyMouseInputEvent getLastMouseDownEvent() {
    NiftyMouseInputEvent result = new NiftyMouseInputEvent();
    result.initialize(lastMouseX, lastMouseY, lastMouseWheel, lastButtonDown0, lastButtonDown1, lastButtonDown2);
    return result;
  }
View Full Code Here

TOP

Related Classes of de.lessvoid.nifty.input.NiftyMouseInputEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.