|
||||||||||
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
public class BroadcastEvent
Subclass of NetworkEvent
used to mark an event which should be
broadcast to the same game object regardless of which player's machine the
event is sent from or received on. This may be useful for
AbstractGame
classes within the VOOGA framework.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
BroadcastEvent(java.lang.Object source)
Default constructor for a BroadcastEvent |
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 |
Constructor Detail |
---|
public BroadcastEvent(java.lang.Object source)
BroadcastEvent
source
- The object firing this event on the original machine it was
fired from
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |