|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
vooga.gameEngine.event.NetworkEvent
vooga.gameEngine.event.BroadcastEvent
vooga.gameEngine.event.EndLevelEvent
public class EndLevelEvent
An EventObject
used to signify that the current level should
end.
Field Summary | |
---|---|
boolean |
isWon
|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
EndLevelEvent(java.lang.Object source)
Default constructor for this EventObject . |
|
EndLevelEvent(java.lang.Object source,
boolean won)
Default constructor for this EventObject . |
Method Summary |
---|
Methods inherited from class vooga.gameEngine.event.NetworkEvent |
---|
getFiringPlayerNumber, setFiringPlayerNumber |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final boolean isWon
Constructor Detail |
---|
public EndLevelEvent(java.lang.Object source)
EventObject
. isWon is
automatically set to true.
source
- is the object throwing the eventpublic EndLevelEvent(java.lang.Object source, boolean won)
EventObject
.
source
- is the object throwing the eventwon
- is whether the level was won or lost
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |