|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.limdul.cassiopeia.control.gamemodus.GameModus
de.limdul.cassiopeia.control.gamemodus.Connecting
public class Connecting
Implementiert den Modus zum verbinden. Für den Ablauf siehe connecting.dia
| Field Summary |
|---|
| Fields inherited from class de.limdul.cassiopeia.control.gamemodus.GameModus |
|---|
CONNECTING, GAME_INFO, GAME_MOVE_DRAGON_OTHER, GAME_MOVE_DRAGON_OWN, GAME_PLACE_FAIRY_OTHER, GAME_PLACE_FAIRY_OWN, GAME_PLAY_CARD_OTHER, GAME_PLAY_CARD_OWN, GAME_PLAY_CASTLE_MISS_OTHER, GAME_PLAY_CASTLE_MISS_OWN, GAME_PLAY_ENCHANTED_TUNNEL, GAME_PLAY_FIGURE_OTHER, GAME_PLAY_FIGURE_OWN, GAME_PLAY_KATHARER_OTHER, GAME_PLAY_KATHARER_OWN, GAME_SELECT_DRAGON_OTHER, GAME_SELECT_DRAGON_OWN, GAME_WAITING, LOBBY |
| Constructor Summary | |
|---|---|
Connecting()
Erzeugt einen Connecting GameModus. |
|
Connecting(boolean asSpectator)
Erzeugt einen Connecting GameModus. |
|
Connecting(int slot)
Erzeugt einen Connecting GameModus als Bot. |
|
| Method Summary | |
|---|---|
int |
getType()
Liefert den Typ des Modus. |
void |
parseGameCommand(GameCommand command)
Verarbeitet ein GameCommand. |
void |
parseTCPCommand(TCPCommand command)
Verarbeitet TCPCommand. |
| Methods inherited from class de.limdul.cassiopeia.control.gamemodus.GameModus |
|---|
addExpectedGame, addExpectedTCP, clearExpectedGame, clearExpectedTCP, createNewGameModi, getEventHandler, getGame, getOwnPlayer, getOwnPlayerNumber, isOwnPlayer, isOwnPlayer, parseGameChatMessage, parseTCPChatMessage, setCommunicator, setEventHandler, setGame, setMeta, shutdown, testGameCommand, testTCPCommand |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Connecting()
public Connecting(boolean asSpectator)
asSpectator - Ob der Client sich als Zuschauer verbindet.public Connecting(int slot)
slot - Der gewünschte Slot für den Bot.| Method Detail |
|---|
public int getType()
GameModus
getType in class GameModusGameModus.getType()public void parseTCPCommand(TCPCommand command)
TCPCommandListenerTCPCommand.
command - Das TCPCommand.TCPCommandListener.parseTCPCommand(de.limdul.cassiopeia.control.tcpip.commands.TCPCommand)public void parseGameCommand(GameCommand command)
GameCommandListenerGameCommand.
command - Das GameCommandGameCommandListener.parseGameCommand(de.limdul.cassiopeia.control.gamecommands.GameCommand)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||