|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSimulator.Result
public static class Simulator.Result
Return value of Simulator.getResult()
Field Summary | |
---|---|
Simulator.Result.Code |
code
|
java.awt.Image |
icon
Image of the winner |
java.lang.String |
result
|
java.lang.Class |
species
Winning species, null if timeout or draw. |
int |
timeSteps
Number of time steps until the result occured. |
java.lang.String |
why
Explanation of why the game ended. |
Constructor Summary | |
---|---|
Simulator.Result(java.lang.String r,
java.lang.Class s,
java.lang.String w,
java.awt.Image i,
int t,
Simulator.Result.Code c)
|
Method Summary | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.Class species
public java.lang.String result
public java.lang.String why
public java.awt.Image icon
public int timeSteps
public Simulator.Result.Code code
Constructor Detail |
---|
public Simulator.Result(java.lang.String r, java.lang.Class s, java.lang.String w, java.awt.Image i, int t, Simulator.Result.Code c)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |