Java Code Examples for com.badlogic.gdx.utils.IntMap#Values

The following examples show how to use com.badlogic.gdx.utils.IntMap#Values . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: KeyMapper.java    From riiablo with Apache License 2.0 5 votes vote down vote up
@Override
@NonNull
public Iterator<MappedKey> iterator() {
  IntMap.Values<ObjectSet<MappedKey>> entries = KEYS.values();
  ObjectSet<MappedKey> uniqueEntries = new ObjectSet<>();
  for (ObjectSet<MappedKey> entry : entries) {
    uniqueEntries.addAll(entry);
  }

  return uniqueEntries.iterator();
}
 
Example 2
Source File: ModuleWrapper.java    From talos with Apache License 2.0 4 votes vote down vote up
protected VisSelectBox addSelectBox(IntMap.Values<String> values) {
    return addSelectBox(values.toArray());
}