Package com.treescrub.spedran.data
Class RunSystem
- java.lang.Object
-
- com.treescrub.spedran.data.RunSystem
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPlatform()Gets the platform ID that this run was played onOptional<String>getRegion()Gets the region ID that this run was played onbooleanisEmulated()Gets whether the run was played on an emulator.StringtoString()
-
-
-
Method Detail
-
getPlatform
public String getPlatform()
Gets the platform ID that this run was played on- Returns:
- the platform ID
- See Also:
Platform,Spedran.getPlatform(String)
-
isEmulated
public boolean isEmulated()
Gets whether the run was played on an emulator.- Returns:
- whether the run was played on emulator
-
getRegion
public Optional<String> getRegion()
Gets the region ID that this run was played on- Returns:
- an
Optionalwith the region ID if applicable - See Also:
Region,Spedran.getRegion(String)
-
-