kinetic scrolling in optionmenu

This commit is contained in:
yugecin
2017-01-29 15:33:01 +01:00
parent 58bf38c438
commit ac398bf2ad
2 changed files with 33 additions and 17 deletions

View File

@@ -67,6 +67,12 @@ public class KineticScrolling {
*/
public float getPosition() { return position; }
/**
* Returns the current position as an int.
* @return the position
*/
public int getIntPosition() { return (int) position; }
/**
* Returns the target position.
* @return the target position