Merge pull request #5403 from deathbeam/idle-notifier-use-mouse-state

Use mouse press events and not mouse movement events in idle notifier
This commit is contained in:
Tomas Slusny
2018-09-11 10:11:30 +02:00
committed by GitHub
4 changed files with 22 additions and 5 deletions

View File

@@ -927,6 +927,11 @@ public interface Client extends GameEngine
*/
int getMouseIdleTicks();
/**
* Gets the number of milliseconds since the last mouse press occurred.
*/
long getMouseLastPressedMillis();
/**
* Gets the amount of ticks since the last keyboard press occurred.
*