| Home >> All >> org >> metacosm >> framework >> [ server Javadoc ] |
org.metacosm.framework.server: Javadoc index of package org.metacosm.framework.server.
Package Samples:
org.metacosm.framework.server
Classes:
Configuration: Provides all the configuration of the game, by reading the configuration file. All the public static final String are used to name parameters. It's also a Singleton OOD pattern.
Schedule: The scheduler for a Metacosm game. Use: Schedule schedule = new Schedule(this); // called by Game schedule.start(); ... schedule.stop();
GameClock: This class count the number of turns elapsed in a Game. It is thread safe(not tested). It is a singleton OOD pattern
Player: Defines a player. A player is a coder having fun time :) Each Player has his/her/its/per own connection.
Game: In one word, that's the game... Contains all. TODO Remove java.io.Serializable dependence one day
Scheduler: This class is the GameLoop algorithm (see GameLoop-RFC). It performs saves of the Game too.
Logger: Used to save all good and bad things happening. It's also a Singleton OOD pattern.
AdminConsoleConnection: AdminConsoleConnection provides connection to the game via the admin console protocol.
ClientConnection: ClientConnection provides connection to the game via the Client UI protocol.
SimpleConnection: SimpleConnection provides connection to the game via the telnet protocol.
AdminConsoleServer: Server waiting for admin console protocol connections.
Connection: Mother class of SimpleConnection and ClientConnection
ClientGameServer: Server waiting for Client UI protocol connections.
SimpleGameServer: Server waiting for telnet protocol connections.
GameServer: Server waiting for connections
PlayerCharacterSetup
Factory
AdminCommandStreamParser
InstanceSettings
| Home | Contact Us | Privacy Policy | Terms of Service |