|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.starhope.appius.util.ManagedReferenceHolder
org.starhope.appius.sql.SQLPeerDatum
org.starhope.appius.game.GameEvent
com.tootsville.game.ShaddowFalls
public class ShaddowFalls
Shaddow Falls is the home of the evil Shade, arch-nemesis of the Toots. Toots standing in Shaddow Falls are subject to an attrition of peanuts, except: God, Shade, Zap, and Catullus.
Constructor Summary | |
---|---|
ShaddowFalls(Zone z)
|
Method Summary | |
---|---|
void |
acceptGameAction(User sender,
org.json.JSONObject action)
This is an overriding method. |
void |
acceptOutOfBandMessage(ExistsInWorld sender,
Room room,
org.json.JSONObject body)
This is an overriding method. |
void |
acceptPublicMessage(User sender,
java.lang.String message)
This is an overriding method. |
void |
flush()
This is an overriding method. |
void |
noOp()
No op |
void |
tick(long t,
long dT)
This is an overriding method. |
Methods inherited from class org.starhope.appius.game.GameEvent |
---|
acceptCommand, acceptGameStateChange, acceptObjectJoinRoom, acceptObjectPartRoom, compareTo, equals, equals, getEveryone, getGameCode, getGameShortName, getLocation, getPlayers, getRoom, getRooms, getScoreWatchRooms, getSpectators, getTimer, getZone, incrementScore, propagateGameStateChange, toString |
Methods inherited from class org.starhope.appius.sql.SQLPeerDatum |
---|
changed, get, prepare, set, toJSON |
Methods inherited from class org.starhope.appius.util.ManagedReferenceHolder |
---|
deref, setRef |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ShaddowFalls(Zone z)
z
- The zone containing this eventMethod Detail |
---|
public void acceptGameAction(User sender, org.json.JSONObject action)
sender
- the senderaction
- The game action. The verb is in
action.getString("action").RoomListener.acceptGameAction(org.starhope.appius.user.User,
org.json.JSONObject)
public void acceptOutOfBandMessage(ExistsInWorld sender, Room room, org.json.JSONObject body)
sender
- WRITEMEroom
- WRITEMEbody
- WRITEMERoomListener.acceptOutOfBandMessage(org.starhope.appius.util.AbstractUser,
org.starhope.appius.game.Room, org.json.JSONObject)
public void acceptPublicMessage(User sender, java.lang.String message)
sender
- WRITEMEmessage
- WRITEMERoomListener.acceptPublicMessage(org.starhope.appius.user.User,
java.lang.String)
public void flush()
flush
in class SQLPeerDatum
SQLPeerDatum.flush()
public void noOp()
public void tick(long t, long dT) throws UserDeadException
tick
in interface AcceptsMetronomeTicks
tick
in class GameEvent
t
- Time since epoch at the start of the global
metronome propagation, as per System.currentTimeMillis()dT
- Delta-time in milliseconds since the prior
global metronome tick
UserDeadException
- if a user has died during this tickGameEvent.tick(long, long)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |