List of usage examples for com.badlogic.gdx.utils IntFloatMap IntFloatMap
public IntFloatMap()
From source file:com.forerunnergames.peril.client.input.GdxKeyRepeatSystem.java
License:Open Source License
public GdxKeyRepeatSystem(final Input input, final KeyRepeatListener listener) { Arguments.checkIsNotNull(input, "input"); Arguments.checkIsNotNull(listener, "listener"); this.input = input; this.listener = listener; keyRepeatTimer = new Timer(); keyRepeatTasks = new IntMap<>(); repeatingKeys = new IntArray(); keyRepeatRates = new IntFloatMap(); keyRepeatStartDelays = new IntFloatMap(); currentRepeatingKeyTask = null;/*from w w w. j a v a 2 s . co m*/ currentRepeatingGdxKeyCode = 0; currentRepeatingKeyIndex = 0; }
From source file:me.scarlet.undertailor.engine.overworld.WorldRoom.java
License:Open Source License
public WorldRoom(Tilemap map) { this.destroyed = false; this.prepared = false; this.events = new EventHelper(this); this.bodyQueue = new ObjectSet<>(); this.entrypointQueue = new ObjectSet<>(); this.tilemap = map; this.controller = null; this.obj = new ObjectSet<>(); this.entrypoints = new ObjectMap<>(); this.opacityMapping = new IntFloatMap(); this.collisionLayers = new ObjectMap<>(); this.renderOrder = new Array<>(true, 16); this.disabledCollision = new ObjectSet<>(); }