Tabnine Logo
IntSet.remove
Code IndexAdd Tabnine to your IDE (free)

How to use
remove
method
in
com.badlogic.gdx.utils.IntSet

Best Java code snippets using com.badlogic.gdx.utils.IntSet.remove (Showing top 10 results out of 315)

origin: libgdx/libgdx

@Override
public void mouseReleased (MouseEvent e) {
  synchronized (this) {
    TouchEvent event = usedTouchEvents.obtain();
    event.pointer = 0;
    event.x = e.getX();
    event.y = e.getY();
    event.button = toGdxButton(e.getButton());
    event.type = TouchEvent.TOUCH_UP;
    event.timeStamp = System.nanoTime();
    touchEvents.add(event);
    deltaX = event.x - touchX;
    deltaY = event.y - touchY;
    touchX = event.x;
    touchY = event.y;
    pressedButtons.remove(event.button);
    if (pressedButtons.size == 0) touchDown = false;
    lwjglAwtCanvas.graphics.requestRendering();
  }
}
origin: libgdx/libgdx

@Override
public void mouseReleased (MouseEvent e) {
  synchronized (this) {
    TouchEvent event = usedTouchEvents.obtain();
    event.pointer = 0;
    event.x = e.getX();
    event.y = e.getY();
    event.button = toGdxButton(e.getButton());
    event.type = TouchEvent.TOUCH_UP;
    event.timeStamp = System.nanoTime();
    touchEvents.add(event);
    deltaX = event.x - touchX;
    deltaY = event.y - touchY;
    touchX = event.x;
    touchY = event.y;
    pressedButtons.remove(event.button);
    if (pressedButtons.size == 0) touchDown = false;
    lwjglAwtCanvas.graphics.requestRendering();
  }
}
origin: libgdx/libgdx

} else {
  event.type = TouchEvent.TOUCH_UP;
  pressedButtons.remove(event.button);
origin: libgdx/libgdx

} else {
  event.type = TouchEvent.TOUCH_UP;
  pressedButtons.remove(event.button);
origin: libgdx/libgdx

this.pressedButtons.remove(getButton(e.getButton()));
this.touched[0] = pressedButtons.size > 0;
if (isCursorCatched()) {
    pressedKeySet.remove(code);
    pressedKeyCount--;
    pressedKeys[code] = false;
    pressedKeySet.remove(code);
    pressedKeyCount--;
    pressedKeys[code] = false;
origin: libgdx/libgdx

this.pressedButtons.remove(getButton(e.getButton()));
this.touched[0] = pressedButtons.size > 0;
if (isCursorCatched()) {
    pressedKeySet.remove(code);
    pressedKeyCount--;
    pressedKeys[code] = false;
    pressedKeySet.remove(code);
    pressedKeyCount--;
    pressedKeys[code] = false;
origin: com.badlogicgames.gdx/gdx-backend-lwjgl

@Override
public void mouseReleased (MouseEvent e) {
  synchronized (this) {
    TouchEvent event = usedTouchEvents.obtain();
    event.pointer = 0;
    event.x = e.getX();
    event.y = e.getY();
    event.button = toGdxButton(e.getButton());
    event.type = TouchEvent.TOUCH_UP;
    event.timeStamp = System.nanoTime();
    touchEvents.add(event);
    deltaX = event.x - touchX;
    deltaY = event.y - touchY;
    touchX = event.x;
    touchY = event.y;
    pressedButtons.remove(event.button);
    if (pressedButtons.size == 0) touchDown = false;
    lwjglAwtCanvas.graphics.requestRendering();
  }
}
origin: com.badlogicgames.gdx/gdx-backend-lwjgl

} else {
  event.type = TouchEvent.TOUCH_UP;
  pressedButtons.remove(event.button);
origin: konsoletyper/teavm-libgdx

this.pressedButtons.remove(getButton(mouseEvent.getButton()));
this.touched[0] = pressedButtons.size > 0;
if (isCursorCatched()) {
origin: com.badlogicgames.gdx/gdx-backend-gwt

this.pressedButtons.remove(getButton(e.getButton()));
this.touched[0] = pressedButtons.size > 0;
if (isCursorCatched()) {
    pressedKeySet.remove(code);
    pressedKeyCount--;
    pressedKeys[code] = false;
    pressedKeySet.remove(code);
    pressedKeyCount--;
    pressedKeys[code] = false;
com.badlogic.gdx.utilsIntSetremove

Javadoc

Returns true if the key was removed.

Popular methods of IntSet

  • add
    Returns true if the key was not already in the set.
  • contains
  • iterator
    Returns an iterator for the keys in the set. Remove is supported. Note that the same iterator instan
  • <init>
    Creates a new set identical to the specified set.
  • addAll
  • addResize
    Skips checks for existing keys.
  • addStash
  • clear
    Clears the set and reduces the size of the backing arrays to be the specified capacity if they are l
  • containsKeyStash
  • ensureCapacity
    Increases the size of the backing array to accommodate the specified number of additional items. Use
  • hash2
  • hash3
  • hash2,
  • hash3,
  • push,
  • removeStash,
  • removeStashIndex,
  • resize

Popular in Java

  • Making http post requests using okhttp
  • startActivity (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • getResourceAsStream (ClassLoader)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now