Class LogFile

java.lang.Object
  extended by LogFile
All Implemented Interfaces:
java.io.Serializable

public class LogFile
extends java.lang.Object
implements java.io.Serializable

This is a serializable class that is used to save log files. It contains a TileSet and a linked List of LogEntries.

See Also:
TileSet, LogEntry, Serialized Form

Field Summary
private static long serialVersionUID
           
(package private)  java.util.LinkedList theMoveList
          A list of LogEntries
(package private)  TileSet theTileSet
          The TileSet used for the log
 
Constructor Summary
LogFile(TileSet TS, java.util.LinkedList ML)
          Constructor that sets the tile set and list of moves.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

theTileSet

TileSet theTileSet
The TileSet used for the log


theMoveList

java.util.LinkedList theMoveList
A list of LogEntries

Constructor Detail

LogFile

public LogFile(TileSet TS,
               java.util.LinkedList ML)
Constructor that sets the tile set and list of moves.

Parameters:
TS - The TileSet used for the log
ML - The list of move making up the log.