| Constructor and Description |
|---|
InitialConditionsRecord(java.io.InputStream in)
Construct a new InitialConditionsRecord and read data from an InputStream.
|
InitialConditionsRecord(WorldModel<? extends Entity> model)
Construct a new InitialConditionsRecord.
|
| Modifier and Type | Method and Description |
|---|---|
RecordType |
getRecordType()
Get the type of this record.
|
WorldModel<Entity> |
getWorldModel()
Get the world model.
|
void |
read(java.io.InputStream in)
Read this log record's data from a stream.
|
void |
write(java.io.OutputStream out)
Write this log record to a stream.
|
public InitialConditionsRecord(WorldModel<? extends Entity> model)
model - The world model to record.public InitialConditionsRecord(java.io.InputStream in)
throws java.io.IOException,
LogException
in - The InputStream to read from.java.io.IOException - If there is a problem reading the stream.LogException - If there is a problem reading the log record.public RecordType getRecordType()
LogRecordgetRecordType in interface LogRecordpublic void write(java.io.OutputStream out)
throws java.io.IOException
LogRecordpublic void read(java.io.InputStream in)
throws java.io.IOException,
LogException
LogRecordread in interface LogRecordin - The InputStream to read from.java.io.IOException - If there is a problem reading the stream.LogException - If there is a problem reading the log record.public WorldModel<Entity> getWorldModel()