kickstart the cursor trail for every state

This commit is contained in:
yugecin 2016-12-11 14:05:15 +01:00
parent c1a07feee4
commit f7ab8b2f01
2 changed files with 2 additions and 4 deletions

View File

@ -1541,10 +1541,6 @@ public class Game extends BasicGameState {
}
}
// kickstart cursor trail
UI.getCursor().setCursorPosition(-10000, -10000);
UI.getCursor().setCursorPosition(0, 0);
slidercurveFrom = 0;
slidercurveTo = 0;

View File

@ -328,6 +328,8 @@ public class Cursor {
public void resetLocations() {
lastPosition = new Point(0, 0);
trail.clear();
setCursorPosition(-1000, -1000);
setCursorPosition(0, 0);
}
/**