GameLoopAnalogButton class
The state of an analog input button
class GameLoopAnalogButton { /** The button id */ final int buttonId; /** Value of analog button, between -1.0 and 1.0 */ double value = 0.0; /** The frame when the button was last updated */ int frame = 0; /** The time when the button was last updated */ double time = 0.0; GameLoopAnalogButton(this.buttonId); }
Constructors
new GameLoopAnalogButton(int buttonId) #
GameLoopAnalogButton(this.buttonId);