Package com.treescrub.spedran.data
Class RunTimes
- java.lang.Object
-
- com.treescrub.spedran.data.RunTimes
-
public class RunTimes extends Object
Contains info of all times set for a run.
This class is immutable and thread-safe.- See Also:
Run,Run.getRunTimes()
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Duration>getIngameTime()Gets the in-game time of this run.DurationgetPrimaryTime()Gets the primary or default time of this run.Optional<Duration>getRealNoLoadsTime()Gets the real with loads removed time of this run.Optional<Duration>getRealTime()Gets the real time of this run.StringtoString()
-
-
-
Method Detail
-
getPrimaryTime
public Duration getPrimaryTime()
Gets the primary or default time of this run. The timing type is determined by theGameRuleset- Returns:
- a
Durationwith the primary time
-
getRealNoLoadsTime
public Optional<Duration> getRealNoLoadsTime()
Gets the real with loads removed time of this run.
-
-