com.croftsoft.apps.mars.net
Class NetGame
java.lang.Object
com.croftsoft.apps.mars.net.NetGame
public final class NetGame
- extends Object
The game state and behavior.
- Since:
- 2003-04-07
- Version:
- 2003-09-10
- Author:
- David Wallace Croft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetGame
public NetGame(GameInitAccessor gameInitAccessor)
NetGame
public NetGame()
main
public static void main(String[] args)
test
public static boolean test(String[] args)
load
public static NetGame load(GameInitAccessor gameInitAccessor,
String primaryFilename,
String backupFilename)
throws ClassNotFoundException,
IOException
- Throws:
ClassNotFoundException
IOException
getGameData
public GameData getGameData()
getPlayer
public Player getPlayer(String playerName)
save
public void save(String primaryFilename,
String backupFilename)
throws IOException
- Throws:
IOException
update
public void update()
CroftSoft Apps Javadoc (2008-09-28 21:15:07)