|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object spellcast.event.GameUpdateEvent
public class GameUpdateEvent
A Game Update Event contains the details of what has changed in the game. This is used to update the client's state.
PropertyChangeEvent's source is transient so we take a copy and store it in the source member variable.
Constructor Summary | |
---|---|
GameUpdateEvent(java.beans.PropertyChangeEvent event)
Create an GameUpdateEvent for the property that changed on the server. |
Method Summary | |
---|---|
java.beans.PropertyChangeEvent |
getEvent()
Get the value of event. |
Id |
getSource()
Get the value of source. |
void |
setEvent(java.beans.PropertyChangeEvent v)
Set the value of event. |
void |
setSource(Id v)
Set the value of source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GameUpdateEvent(java.beans.PropertyChangeEvent event)
Method Detail |
---|
public java.beans.PropertyChangeEvent getEvent()
public void setEvent(java.beans.PropertyChangeEvent v)
v
- Value to assign to event.public Id getSource()
public void setSource(Id v)
v
- Value to assign to source.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |