Class TaskTime
java.lang.Object
me.hsgamer.hscore.bukkit.scheduler.TaskTime
The time for the task
-
Method Details
-
of
Create a new task time- Parameters:
time- the timeunit- the unit- Returns:
- the task time
-
of
Create a new task time from ticks- Parameters:
ticks- the ticks- Returns:
- the task time
-
getTime
public long getTime()Get the time- Returns:
- the time
-
getUnit
Get the unit- Returns:
- the unit
-
getTicks
public long getTicks()Get the ticks- Returns:
- the ticks
-
getNormalizedTicks
public long getNormalizedTicks()Get the normalized ticks. This will return 1 if the ticks are less than 1.- Returns:
- the normalized ticks
-