boolean verbose = this.settings.verbose; if (usedIds != null && !usedIds.contains(gid)) { if (verbose) { System.out.println("Stripped id #" + gid + " from tileset \"" + tilesetName + "\"");
boolean verbose = this.settings.verbose; if (usedIds != null && !usedIds.contains(gid)) { if (verbose) { System.out.println("Stripped id #" + gid + " from tileset \"" + tilesetName + "\"");
boolean found = false; for (int j = 1; j < class1Count && !found; j++) { found = glyphsByClass1[j].contains(glyph);
boolean found = false; for (int j = 1; j < class1Count && !found; j++) { found = glyphsByClass1[j].contains(glyph);
/** * Check whether the specified NON-PRINTABLE key is set to repeat. Only keys whose character would return true for * {@link Character#isISOControl(char)} are allowed. The reason why is that LibGDX already repeats printable * characters * for you automatically. * * @param gdxKeyCode The {@link com.badlogic.gdx.Input.Keys} keyCode of the key to check. Must be a NON-PRINTABLE * key (See above). * @return The repeat status of the specified key. */ public boolean isRepeatingKey(final int gdxKeyCode) { checkKeyCode(gdxKeyCode); return repeatingKeys.contains(gdxKeyCode); }
/** * Check whether the specified NON-PRINTABLE key is set to repeat. Only keys whose character would return true for * {@link Character#isISOControl(char)} are allowed. The reason why is that LibGDX already repeats printable * characters * for you automatically. * * @param gdxKeyCode The {@link com.badlogic.gdx.Input.Keys} keyCode of the key to check. Must be a NON-PRINTABLE * key (See above). * @return The repeat status of the specified key. */ public boolean isRepeatingKey(final int gdxKeyCode) { checkKeyCode(gdxKeyCode); return repeatingKeys.contains(gdxKeyCode); }
/** * Enable or disable key repeat for the specified NON-PRINTABLE key. Only keys whose character would return true for * {@link Character#isISOControl(char)} are allowed. The reason why is that LibGDX already repeats printable * characters * for you automatically. * * @param gdxKeyCode The {@link com.badlogic.gdx.Input.Keys} keyCode of the key to repeat. Must be a NON-PRINTABLE * key (See above). * @param isEnabled Whether to enable or disable key repeat for the specified key. */ public void setKeyRepeat(final int gdxKeyCode, final boolean isEnabled) { checkKeyCode(gdxKeyCode); if (isEnabled && !repeatingKeys.contains(gdxKeyCode)) { repeatingKeys.add(gdxKeyCode); registerKeyRepeatTask(gdxKeyCode); } else if (!isEnabled && repeatingKeys.contains(gdxKeyCode)) { repeatingKeys.removeValue(gdxKeyCode); } }
/** * Enable or disable key repeat for the specified NON-PRINTABLE key. Only keys whose character would return true for * {@link Character#isISOControl(char)} are allowed. The reason why is that LibGDX already repeats printable * characters * for you automatically. * * @param gdxKeyCode The {@link com.badlogic.gdx.Input.Keys} keyCode of the key to repeat. Must be a NON-PRINTABLE * key (See above). * @param isEnabled Whether to enable or disable key repeat for the specified key. */ public void setKeyRepeat(final int gdxKeyCode, final boolean isEnabled) { checkKeyCode(gdxKeyCode); if (isEnabled && !repeatingKeys.contains(gdxKeyCode)) { repeatingKeys.add(gdxKeyCode); registerKeyRepeatTask(gdxKeyCode); } else if (!isEnabled && repeatingKeys.contains(gdxKeyCode)) { repeatingKeys.removeValue(gdxKeyCode); } }
boolean verbose = this.settings.verbose; if (usedIds != null && !usedIds.contains(gid)) { if (verbose) { System.out.println("Stripped id #" + gid + " from tileset \"" + tilesetName + "\"");
boolean found = false; for (int j = 1; j < class1Count && !found; j++) { found = glyphsByClass1[j].contains(glyph);