public static class Simulator.Result extends Object
Simulator.getResult()
Modifier and Type | Class and Description |
---|---|
static class |
Simulator.Result.Code |
Modifier and Type | Field and Description |
---|---|
Image |
icon
Image of the winner
|
String |
result |
Class |
species
One of the winning species, null if none.
|
Map<Class,Simulator.Species> |
speciesStats
Data about each species
|
long |
timeSteps
Game time in virtual nanoseconds at which the result occured.
|
String |
why
Explanation of why the game ended.
|
Constructor and Description |
---|
Simulator.Result(String r,
Class s,
String w,
Image i,
long t,
Map<Class,Simulator.Species> stats) |
public Class species
public String result
public String why
public Image icon
public long timeSteps
public Map<Class,Simulator.Species> speciesStats