Package wizardquest.gamemanager
Interface TimeManagerInterface
public interface TimeManagerInterface
Interface the time manager implements. Acts as a global access point to time
information to allow testing of time sensitive functions.
-
Method Summary
Modifier and TypeMethodDescriptionProvides access to the current time when the method is called.
-
Method Details
-
getCurrentTime
Instant getCurrentTime()Provides access to the current time when the method is called.- Returns:
- the time when the method is called.
-