|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgames.strategy.triplea.TripleA
public class TripleA
| Field Summary |
|---|
| Fields inherited from interface games.strategy.engine.framework.IGameLoader |
|---|
CLIENT_PLAYER_TYPE |
| Constructor Summary | |
|---|---|
TripleA()
|
|
| Method Summary | |
|---|---|
java.util.Set<IGamePlayer> |
createPlayers(java.util.Map playerNames)
Create the players. |
java.lang.Class<? extends IChannelSubscribor> |
getDisplayType()
Get the type of the display |
IPBEMMessenger[] |
getPBEMMessengers()
Get PBEM messengers for Turn Summary notification |
java.lang.Class<? extends IRemote> |
getRemotePlayerType()
Get the type of the GamePlayer. |
java.lang.String[] |
getServerPlayerTypes()
Return an array of player types that can play on the server. |
IUnitFactory |
getUnitFactory()
A game may use a subclass of Unit to allow associating data with a particular unit. |
void |
shutDown()
|
void |
startGame(IGame game,
java.util.Set<IGamePlayer> players)
The game is about to start. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TripleA()
| Method Detail |
|---|
public java.util.Set<IGamePlayer> createPlayers(java.util.Map playerNames)
IGameLoader
createPlayers in interface IGameLoaderIGameLoader.createPlayers(playerNames)public void shutDown()
shutDown in interface IGameLoader
public void startGame(IGame game,
java.util.Set<IGamePlayer> players)
throws java.lang.Exception
IGameLoader
startGame in interface IGameLoaderjava.lang.Exceptionpublic java.lang.String[] getServerPlayerTypes()
getServerPlayerTypes in interface IGameLoaderpublic IPBEMMessenger[] getPBEMMessengers()
IGameLoader
getPBEMMessengers in interface IGameLoaderpublic java.lang.Class<? extends IChannelSubscribor> getDisplayType()
IGameLoader
getDisplayType in interface IGameLoaderpublic java.lang.Class<? extends IRemote> getRemotePlayerType()
IGameLoaderThe type must extend IRemote, and is to be used by an IRemoteManager to allow a player to be contacted remotately
getRemotePlayerType in interface IGameLoaderIRemoteMessengerpublic IUnitFactory getUnitFactory()
IGameLoaderGames that do not want to subclasses of units should simply return a DefaultUnitFactory.
getUnitFactory in interface IGameLoader
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||