|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectj4cevo.Information
sampleai.Brain.InfoExt
Demonstrates saving of Information as Externalizable to save space. The information itself is rather useless at the moment.
| Constructor Summary | |
Brain.InfoExt()
|
|
| Method Summary | |
void |
readExternal(java.io.ObjectInput in)
|
void |
receivedBy(Player player)
Hook for subclasses. |
void |
writeExternal(java.io.ObjectOutput out)
|
| Methods inherited from class j4cevo.Information |
sendTo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Brain.InfoExt()
| Method Detail |
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundExceptionpublic void receivedBy(Player player)
Information
receivedBy in class Informationplayer - the player
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||