|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.quartercode.quarterbukkit.api.MathUtil
public class MathUtil
A math helper class. You can convert values with this Utility-Class.
| Method Summary | |
|---|---|
static long |
getMillis(long ticks)
Convert minecraft-ticks to milliseconds. |
static long |
getTicks(long millis)
Convert milliseconds to minecraft-ticks. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static long getTicks(long millis)
millis - The milliseconds.
public static long getMillis(long ticks)
ticks - The minecraft-ticks
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||