Package gaiasky.input
Class KeyRegister
java.lang.Object
gaiasky.input.KeyRegister
Small utility class that registers and keeps track of when keys are pressed.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
lastKeyDownTime
(int key) long
lastKeyDownTime
(Collection<Integer> keys) void
registerKeyDownTime
(int key, long time) void
registerKeyDownTime
(Collection<Integer> keys, long time)