Interface PluginTimeSource
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
PluginTimeSource provides the current time in milliseconds.-
Method Summary
Modifier and TypeMethodDescriptionlongstatic PluginTimeSourceReturns aPluginTimeSourceusingTime.globalTimeto provide the current time.static PluginTimeSourcestandard()Returns aPluginTimeSourceusingSystem.currentTimeMillis()to provide the current time.
-
Method Details
-
mindustry
Returns aPluginTimeSourceusingTime.globalTimeto provide the current time. -
standard
Returns aPluginTimeSourceusingSystem.currentTimeMillis()to provide the current time. -
getCurrentTicks
long getCurrentTicks()
-