|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavalib.worldimages.WorldEnd
public class WorldEnd
The class to represent a pair of values boolean
and
.WorldImage
This is used to indicate when the world should end and allow for creating one last image to display at the end.
Field Summary | |
---|---|
WorldImage |
lastImage
the last image to display when the world ends |
boolean |
worldEnds
the indicator whether the world should end: true if the world should end, false if the world goes on |
Constructor Summary | |
---|---|
WorldEnd(boolean worldEnds,
WorldImage lastImage)
The standard full constructor. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public WorldImage lastImage
public boolean worldEnds
Constructor Detail |
---|
public WorldEnd(boolean worldEnds, WorldImage lastImage)
worldEnds
- true if the world should end, false if the world goes onlastImage
- the last image to display when the world ends
(ignored if the world goes on)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |