Modifier and Type | Field and Description |
---|---|
long |
despatchAt |
java.lang.Object[] |
extraInfo |
int |
msg |
int |
receiver |
int |
sender |
Constructor and Description |
---|
Telegram(long despatchAt,
int sender,
int receiver,
int msg,
java.lang.Object... info) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Telegram tgram)
Telegrams are consider the same if they are to be despatched within 250ms
as defined in SAME_TIME_INTERVAL
|
public final int sender
public final int receiver
public final int msg
public final long despatchAt
public java.lang.Object[] extraInfo
Processing library AI_for_2D_Games by Peter Lager. (C) 2013