mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-16 05:24:06 +09:00
inventory gamemenu visual only
This commit is contained in:
@@ -6,6 +6,6 @@ import net.torvald.terrarum.sqr
|
||||
* Created by minjaesong on 2017-03-14.
|
||||
*/
|
||||
object UIUtils {
|
||||
fun moveQuick(start: Double, end: Double, timer: Double, duration: Double) =
|
||||
fun moveQuick(start: Float, end: Float, timer: Float, duration: Float) =
|
||||
(start - end) * ((timer / duration) - 1).sqr() + end
|
||||
}
|
||||
Reference in New Issue
Block a user