games.strategy.engine.framework
Class GameObjectStreamFactory

java.lang.Object
  extended by games.strategy.engine.framework.GameObjectStreamFactory
All Implemented Interfaces:
IObjectStreamFactory

public class GameObjectStreamFactory
extends java.lang.Object
implements IObjectStreamFactory

Author:
Sean Bridges

Constructor Summary
GameObjectStreamFactory(GameData data)
           
 
Method Summary
 java.io.ObjectInputStream create(java.io.InputStream stream)
           
 java.io.ObjectOutputStream create(java.io.OutputStream stream)
           
 GameData getData()
           
 void setData(GameData data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameObjectStreamFactory

public GameObjectStreamFactory(GameData data)
Method Detail

create

public java.io.ObjectInputStream create(java.io.InputStream stream)
                                 throws java.io.IOException
Specified by:
create in interface IObjectStreamFactory
Throws:
java.io.IOException

create

public java.io.ObjectOutputStream create(java.io.OutputStream stream)
                                  throws java.io.IOException
Specified by:
create in interface IObjectStreamFactory
Throws:
java.io.IOException

setData

public void setData(GameData data)

getData

public GameData getData()