games.strategy.engine.data
Class GameDataComponent

java.lang.Object
  extended by games.strategy.engine.data.GameDataComponent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AllianceTracker, DefaultNamed, DelegateList, GameMap, GameProperties, GameSequence, GameStep, PlayerList, ProductionFrontierList, ProductionRuleList, RepairFrontierList, RepairRuleList, ResourceCollection, ResourceList, Unit, UnitCollection, UnitTypeList

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

Version:
1.0
Author:
Sean Bridges
See Also:
Serialized Form

Constructor Summary
GameDataComponent(GameData data)
          Creates new GameDataComponent
 
Method Summary
 GameData getData()
           
protected  void readInternal(java.io.ObjectInput stream)
           
protected  void writeInternal(java.io.ObjectOutput stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameDataComponent

public GameDataComponent(GameData data)
Creates new GameDataComponent

Method Detail

getData

public GameData getData()

writeInternal

protected final void writeInternal(java.io.ObjectOutput stream)
                            throws java.io.IOException
Throws:
java.io.IOException

readInternal

protected final void readInternal(java.io.ObjectInput stream)
                           throws java.io.IOException,
                                  java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException