- AbstractClient - Class in sc.plugin2021
-
Eine abstrakte Implementation des
interface ILobbyClientListener
.
Hier sind alle Methoden implementiert, die unabhängig von der Logik der Clients der Spieler sind.
- AbstractClient(host, port) - Constructor for class sc.plugin2021.AbstractClient
-
Eine abstrakte Implementation des
interface ILobbyClientListener
.
Hier sind alle Methoden implementiert, die unabhängig von der Logik der Clients der Spieler sind.
- AbstractClient.Companion - Class in sc.plugin2021
-
- AbstractGame<P extends Player> - Class in sc.framework.plugins
-
- AbstractGame(pluginUUID) - Constructor for class sc.framework.plugins.AbstractGame
-
- AbstractGame.Companion - Class in sc.framework.plugins
-
- AbstractLobbyClientListener - Class in sc.networking.clients
-
- AbstractLobbyClientListener() - Constructor for class sc.networking.clients.AbstractLobbyClientListener
-
- ActionTimeout - Class in sc.framework.plugins
-
Tracks timeouts in Milliseconds. TODO We can probably utilise an inbuilt class instead.
- ActionTimeout(canTimeout) - Constructor for class sc.framework.plugins.ActionTimeout
-
- ActionTimeout(canTimeout, hardTimeoutInMilliseconds) - Constructor for class sc.framework.plugins.ActionTimeout
-
- ActionTimeout(canTimeout, hardTimeoutInMilliseconds, softTimeoutInMilliseconds) - Constructor for class sc.framework.plugins.ActionTimeout
-
- addGameListener(listener) - Method in interface sc.api.plugins.IGameInstance
-
- addGameListener(listener) - Method in class sc.framework.plugins.AbstractGame
-
Extends the set of listeners.
- addHandler(response, handler) - Method in class sc.protocol.helpers.AsyncResultManager
-
- addListener(listener) - Method in class sc.networking.clients.GameLoaderClient
-
- addListener(listener) - Method in interface sc.networking.clients.IPollsHistory
-
- addListener(u) - Method in interface sc.networking.clients.IPollsUpdates
-
- addListener(listener) - Method in class sc.networking.clients.LobbyClient
-
- addListener(listener) - Method in class sc.networking.clients.LobbyClient
-
- addListener(listener) - Method in class sc.networking.clients.LobbyClient
-
- addListener(u) - Method in class sc.networking.clients.ObservingClient
-
- addObservation(observation) - Method in class sc.networking.clients.ControllingClient
-
- addObservation(observation) - Method in class sc.networking.clients.ObservingClient
-
- addPlayer(player) - Method in class sc.plugin2021.GameState
-
- addPlayerListener(listener) - Method in class sc.framework.plugins.Player
-
- AdminLobbyRequest - Interface in sc.protocol.requests
-
Marks Requests that can only be made by an administrative client.
- AdminLobbyRequest() - Constructor for interface sc.protocol.requests.AdminLobbyRequest
-
- advance(turns) - Method in class sc.plugin2021.GameState
-
Geht zum Zug der nächsten noch im Spiel befindlichen Farbe über.
- advance() - Method in class sc.plugin2021.GameState
-
Geht zum Zug der nächsten noch im Spiel befindlichen Farbe über.
- afterPause() - Method in class sc.framework.plugins.AbstractGame
-
- align(area) - Method in enum sc.plugin2021.Corner
-
Berechne die Koordinaten, die ein Stein haben muss, um in der entsprechenden Ecke platziert zu werden.
- align(area) - Method in class sc.plugin2021.Corner.LOWER_LEFT
-
Berechne die Koordinaten, die ein Stein haben muss, um in der entsprechenden Ecke platziert zu werden.
- align(area) - Method in class sc.plugin2021.Corner.LOWER_RIGHT
-
Berechne die Koordinaten, die ein Stein haben muss, um in der entsprechenden Ecke platziert zu werden.
- align(area) - Method in class sc.plugin2021.Corner.UPPER_LEFT
-
Berechne die Koordinaten, die ein Stein haben muss, um in der entsprechenden Ecke platziert zu werden.
- align(area) - Method in class sc.plugin2021.Corner.UPPER_RIGHT
-
Berechne die Koordinaten, die ein Stein haben muss, um in der entsprechenden Ecke platziert zu werden.
- align($this$align) - Static method in class sc.plugin2021.util.CoordinateHelpersKt
-
Bewege die Koordinaten in die linke obere Ecke (Punkt(0, 0)).
(Dabei werden die Puknte effektiv an den beiden Achsen angelegt).
- AsyncResultManager - Class in sc.protocol.helpers
-
- AsyncResultManager() - Constructor for class sc.protocol.helpers.AsyncResultManager
-
- authenticate(password) - Method in class sc.networking.clients.LobbyClient
-
- AuthenticateRequest - Class in sc.protocol.requests
-
Sent by Client to authenticate as administrator. Is not answered if successful.
- AuthenticateRequest(password) - Constructor for class sc.protocol.requests.AuthenticateRequest
-
Sent by Client to authenticate as administrator. Is not answered if successful.
- cancel() - Method in class sc.networking.clients.ControllingClient
-
- cancel() - Method in interface sc.networking.clients.IControllableGame
-
- cancel() - Method in class sc.networking.clients.ObservingClient
-
- CancelRequest - Class in sc.protocol.requests
-
Used to cancel game and delete a GameRoom.
- CancelRequest(roomId) - Constructor for class sc.protocol.requests.CancelRequest
-
Used to cancel game and delete a GameRoom.
- canConvert(type) - Method in class sc.plugin2021.xstream.BoardConverter
-
- canTimeout() - Method in class sc.framework.plugins.ActionTimeout
-
- canTogglePause() - Method in class sc.networking.clients.ControllingClient
-
- canTogglePause() - Method in interface sc.networking.clients.IControllableGame
-
- canTogglePause() - Method in class sc.networking.clients.ObservingClient
-
- changePosition(i) - Method in class sc.networking.clients.ObservingClient
-
- checkWinCondition() - Method in class sc.framework.plugins.AbstractGame
-
Returns a WinCondition if the Game is over.
Checks:
- checkWinCondition() - Method in class sc.plugin2021.Game
-
Checks whether and why the game is over.
- client - Variable in class sc.networking.clients.SingleRoomClient
-
- clone() - Method in interface sc.api.plugins.IBoard
-
- clone() - Method in class sc.api.plugins.TwoPlayerGameState
-
- clone() - Method in class sc.framework.plugins.Player
-
- clone() - Method in class sc.plugin2021.Board
-
- clone() - Method in class sc.plugin2021.GameState
-
- close() - Method in class sc.networking.clients.ObservingClient
-
- close() - Method in class sc.networking.clients.XStreamClient
-
- close() - Method in class sc.networking.FileSystemInterface
-
- close() - Method in interface sc.networking.INetworkInterface
-
- close() - Method in class sc.networking.NullOutputStream
-
- close() - Method in class sc.networking.TcpNetwork
-
- CloseConnection - Class in sc.protocol.responses
-
Is sent by one party immediately before this party closes the communication
connection and should make the receiving party also close the connection.
- CloseConnection() - Constructor for class sc.protocol.responses.CloseConnection
-
Is sent by one party immediately before this party closes the communication
connection and should make the receiving party also close the connection.
- Color - Enum in sc.plugin2021
-
Die vier verschiedenen Farben im Spiel.
- Companion - Static variable in class sc.framework.plugins.AbstractGame
-
- Companion - Static variable in interface sc.networking.XStreamProvider
-
- Companion - Static variable in class sc.plugin2021.AbstractClient
-
- Companion - Static variable in class sc.plugin2021.Board
-
- Companion - Static variable in class sc.plugin2021.Coordinates
-
- Companion - Static variable in class sc.plugin2021.Game
-
- Companion - Static variable in class sc.plugin2021.GamePlugin
-
- Companion - Static variable in class sc.plugin2021.GameState
-
- Companion - Static variable in enum sc.plugin2021.PieceShape
-
- Companion - Static variable in class sc.plugin2021.Vector
-
- Companion - Static variable in class sc.plugin2021.xstream.BoardConverter
-
- compare(other) - Method in class sc.plugin2021.Board
-
Vergleicht zwei Spielfelder und gibt eine Liste aller Felder zurück, die sich unterscheiden.
- compareTo(other) - Method in class sc.plugin2021.Vector
-
Vergleicht die beiden Vektoren. Der Rückgabewert ist
- component1() - Method in exception sc.api.plugins.exceptions.NotYourTurnException
-
- component1() - Method in class sc.plugin2021.Coordinates
-
- component1() - Method in class sc.plugin2021.Field
-
die Position des Felds,
- component1() - Method in class sc.plugin2021.Piece
-
Die Farbe des Teams,
- component1() - Method in class sc.plugin2021.SetMove
-
der zu platzierende Spielstein
- component1() - Method in class sc.plugin2021.SkipMove
-
Die
- component1() - Method in class sc.plugin2021.Vector
-
die Differenz in x-Richtung
- component1() - Method in class sc.protocol.helpers.RequestResult.Error
-
- component1() - Method in class sc.protocol.helpers.RequestResult.Success
-
- component1() - Method in class sc.protocol.requests.AuthenticateRequest
-
- component1() - Method in class sc.protocol.requests.CancelRequest
-
- component1() - Method in class sc.protocol.requests.ControlTimeoutRequest
-
- component1() - Method in class sc.protocol.requests.FreeReservationRequest
-
- component1() - Method in class sc.protocol.requests.JoinPreparedRoomRequest
-
- component1() - Method in class sc.protocol.requests.JoinRoomRequest
-
- component1() - Method in class sc.protocol.requests.ObservationRequest
-
- component1() - Method in class sc.protocol.requests.PauseGameRequest
-
- component1() - Method in class sc.protocol.requests.PlayerScoreRequest
-
- component1() - Method in class sc.protocol.requests.PrepareGameRequest
-
- component1() - Method in class sc.protocol.requests.StepRequest
-
- component1() - Method in class sc.protocol.responses.GamePausedEvent
-
the next Player to move after unpausing
- component1() - Method in class sc.protocol.responses.GamePreparedResponse
-
- component1() - Method in class sc.protocol.responses.JoinedRoomResponse
-
- component1() - Method in class sc.protocol.responses.LeftGameEvent
-
- component1() - Method in class sc.protocol.responses.MementoEvent
-
- component1() - Method in class sc.protocol.responses.ObservationResponse
-
- component1() - Method in class sc.protocol.responses.PlayerScoreResponse
-
- component1() - Method in class sc.protocol.responses.ProtocolErrorMessage
-
- component1() - Method in class sc.protocol.responses.RoomPacket
-
- component1() - Method in class sc.protocol.responses.RoomWasJoinedEvent
-
- component1() - Method in class sc.protocol.responses.TestModeResponse
-
- component1() - Method in class sc.shared.GameResult
-
- component1() - Method in exception sc.shared.InvalidMoveException
-
ist die Art der Regelverletzung.
- component1() - Method in class sc.shared.PlayerScore
-
- component1() - Method in class sc.shared.ScoreFragment
-
- component1() - Method in class sc.shared.ScoreValue
-
- component1() - Method in class sc.shared.SlotDescriptor
-
- component1() - Method in class sc.shared.WelcomeMessage
-
- component1() - Method in class sc.shared.WinCondition
-
Farbe des Gewinners.
- component2() - Method in exception sc.api.plugins.exceptions.NotYourTurnException
-
- component2() - Method in class sc.plugin2021.Coordinates
-
- component2() - Method in class sc.plugin2021.Field
-
Die Farbe des Felds,
- component2() - Method in class sc.plugin2021.Piece
-
Die Form des Steins.
- component2() - Method in class sc.plugin2021.Vector
-
die Differenz in y-Richtung
- component2() - Method in class sc.protocol.requests.ControlTimeoutRequest
-
- component2() - Method in class sc.protocol.requests.PauseGameRequest
-
- component2() - Method in class sc.protocol.requests.PrepareGameRequest
-
- component2() - Method in class sc.protocol.requests.StepRequest
-
- component2() - Method in class sc.protocol.responses.GamePreparedResponse
-
the reservations for the reserved slots
- component2() - Method in class sc.protocol.responses.ProtocolErrorMessage
-
- component2() - Method in class sc.protocol.responses.RoomPacket
-
- component2() - Method in class sc.protocol.responses.RoomWasJoinedEvent
-
- component2() - Method in class sc.shared.GameResult
-
die Punktzahlen aller Spieler.
- component2() - Method in exception sc.shared.InvalidMoveException
-
ist der Zug,
- component2() - Method in class sc.shared.PlayerScore
-
- component2() - Method in class sc.shared.ScoreFragment
-
- component2() - Method in class sc.shared.ScoreValue
-
- component2() - Method in class sc.shared.SlotDescriptor
-
- component2() - Method in class sc.shared.WinCondition
-
Siegesgrund.
- component3() - Method in exception sc.api.plugins.exceptions.NotYourTurnException
-
- component3() - Method in class sc.plugin2021.Piece
-
Wie weit der Stein gedreht werden soll.
- component3() - Method in class sc.protocol.requests.ControlTimeoutRequest
-
- component3() - Method in class sc.protocol.requests.PrepareGameRequest
-
- component3() - Method in class sc.shared.GameResult
-
eine Liste an Gewinnern,
- component3() - Method in class sc.shared.PlayerScore
-
- component3() - Method in class sc.shared.ScoreFragment
-
- component4() - Method in class sc.plugin2021.Piece
-
Ob der Stein entlang der y-Achse gespiegelt werden soll.
- component5() - Method in class sc.plugin2021.Piece
-
Die
- Constants - Class in sc.plugin2021.util
-
Eine Sammlung an verschiedenen Konstanten, die im Spiel verwendet werden.
- contains(position) - Method in class sc.plugin2021.Board.Companion
-
- contains(position) - Static method in class sc.plugin2021.Board
-
- ControllingClient - Class in sc.networking.clients
-
- ControllingClient(client, roomId, isPaused) - Constructor for class sc.networking.clients.ControllingClient
-
- ControlTimeoutRequest - Class in sc.protocol.requests
-
Used to change whether a player in a slot can time out.
- ControlTimeoutRequest(roomId, activate, slot) - Constructor for class sc.protocol.requests.ControlTimeoutRequest
-
Used to change whether a player in a slot can time out.
- CoordinateHelpersKt - Class in sc.plugin2021.util
-
- CoordinateHelpersKt() - Constructor for class sc.plugin2021.util.CoordinateHelpersKt
-
- Coordinates - Class in sc.plugin2021
-
Eine 2D Koordinate der Form (x, y).
- Coordinates(x, y) - Constructor for class sc.plugin2021.Coordinates
-
Eine 2D Koordinate der Form (x, y).
- Coordinates.Companion - Class in sc.plugin2021
-
- copy(expected, actual, data) - Method in exception sc.api.plugins.exceptions.NotYourTurnException
-
- copy(x, y) - Method in class sc.plugin2021.Coordinates
-
Eine 2D Koordinate der Form (x, y).
- copy(coordinates, content) - Method in class sc.plugin2021.Field
-
Beschreibt die Farbe eines bestimmten Felds.
- copy(color, kind, rotation, isFlipped, position) - Method in class sc.plugin2021.Piece
-
Ein Spielstein mit Farbe, position und entsprechend transformierter Form.
- copy(piece) - Method in class sc.plugin2021.SetMove
-
Ein Zug, der den gegebenen Spielstein auf dem Spielfeld platziert.
- copy(color) - Method in class sc.plugin2021.SkipMove
-
Ein Zug, der die aktuelle Runde aussetzt.
- copy(dx, dy) - Method in class sc.plugin2021.Vector
-
- copy(error) - Method in class sc.protocol.helpers.RequestResult.Error
-
- copy(result) - Method in class sc.protocol.helpers.RequestResult.Success
-
- copy(password) - Method in class sc.protocol.requests.AuthenticateRequest
-
Sent by Client to authenticate as administrator. Is not answered if successful.
- copy(roomId) - Method in class sc.protocol.requests.CancelRequest
-
Used to cancel game and delete a GameRoom.
- copy(roomId, activate, slot) - Method in class sc.protocol.requests.ControlTimeoutRequest
-
Used to change whether a player in a slot can time out.
- copy(reservation) - Method in class sc.protocol.requests.FreeReservationRequest
-
Frees a claimed reservation.
- copy(reservationCode) - Method in class sc.protocol.requests.JoinPreparedRoomRequest
-
Used by client to join a room by reservation code.
The code can be received from the administrative client who requested game creation via PrepareGameRequest.
- copy(gameType) - Method in class sc.protocol.requests.JoinRoomRequest
-
Send by client to join game by gameType.
Creates a new gameRoom if no open gameRoom of the specified gameType exists.
- copy(roomId) - Method in class sc.protocol.requests.ObservationRequest
-
Request of administrative client to observe a gameRoom specified by given roomId.
- copy(roomId, pause) - Method in class sc.protocol.requests.PauseGameRequest
-
Request by administrative client to pause or unpause a game specified by given roomId.
- copy(displayName) - Method in class sc.protocol.requests.PlayerScoreRequest
-
Request of administrative client to get score for a player (displayName of player).
Only useful if testMode was enabled before game ended.
- copy(gameType, slotDescriptors, pause) - Method in class sc.protocol.requests.PrepareGameRequest
-
Request to prepare a game of gameType with two reserved slots according to slotDescriptors.
- copy(roomId, forced) - Method in class sc.protocol.requests.StepRequest
-
Sent by administrative client to send a MoveRequest to the current player. Only works for paused games.
- copy(nextPlayer) - Method in class sc.protocol.responses.GamePausedEvent
-
Indicates that the game has been paused.
- copy(roomId, reservations) - Method in class sc.protocol.responses.GamePreparedResponse
-
- copy(roomId) - Method in class sc.protocol.responses.JoinedRoomResponse
-
Response to client who successfully joined a game.
- copy(roomId) - Method in class sc.protocol.responses.LeftGameEvent
-
Indicates that the receiving Player left or was kicked from the game.
- copy(state, perspective) - Method in class sc.protocol.responses.MementoEvent
-
Sent to update the current state and potentially also a new perspective.
- copy(roomId) - Method in class sc.protocol.responses.ObservationResponse
-
Sent to client as response to successfully joining a GameRoom as Observer.
- copy(score) - Method in class sc.protocol.responses.PlayerScoreResponse
-
Response to GetScoreForPlayerRequest.
- copy(originalRequest, message) - Method in class sc.protocol.responses.ProtocolErrorMessage
-
Response to an erroneous message, including an error message.
- copy(roomId, data) - Method in class sc.protocol.responses.RoomPacket
-
- copy(roomId, existing) - Method in class sc.protocol.responses.RoomWasJoinedEvent
-
Sent to all administrative clients after a playerClient joined a game via a JoinRoomRequest.
- copy(testMode) - Method in class sc.protocol.responses.TestModeResponse
-
Response to TestModeRequest containing the current status of testMode.
- copy(definition, scores, winners) - Method in class sc.shared.GameResult
-
Das Endergebnis eines Spiels.
- copy(mistake, move) - Method in exception sc.shared.InvalidMoveException
-
Wird bei Zügen geworfen, die nicht regelkonform ausgeführt werden können.
- copy(cause, reason, parts) - Method in class sc.shared.PlayerScore
-
- copy(name, aggregation, relevantForRanking) - Method in class sc.shared.ScoreFragment
-
- copy(fragment, value) - Method in class sc.shared.ScoreValue
-
- copy(displayName, canTimeout) - Method in class sc.shared.SlotDescriptor
-
- copy(color) - Method in class sc.shared.WelcomeMessage
-
Nachricht, die zu Beginn eines Spiels an einen Client geschickt wird, um ihm seine Spielerfarbe mitzuteilen.
- copy(winner, reason) - Method in class sc.shared.WinCondition
-
Eine Zusammenfassung eines Sieges mit Sieger und Beschreibung.
- Corner - Enum in sc.plugin2021
-
Die Ecken des Spielfelds.
- Corner.LOWER_LEFT - Class in sc.plugin2021
-
Die linke untere Ecke (0, 19).
- Corner.LOWER_RIGHT - Class in sc.plugin2021
-
Die rechte untere Ecke (19, 19).
- Corner.UPPER_LEFT - Class in sc.plugin2021
-
Die linke obere Ecke des Spielfelds und damit der Ursprung des Koordinatensystems.
- Corner.UPPER_RIGHT - Class in sc.plugin2021
-
Die rechte obere Ecke (19, 0).
- cornersOnColor(board, field) - Static method in class sc.plugin2021.util.GameRuleLogic
-
Prüfe, ob das gegebene Feld an die Ecke eines Feldes gleicher Farbe angrenzt.
- createGame() - Method in interface sc.api.plugins.IGamePlugin
-
- createGame() - Method in class sc.plugin2021.GamePlugin
-
- currentPlayerFromTurn() - Method in class sc.api.plugins.TwoPlayerGameState
-
Calculates the color of the current player from the
turn
and the startTeam.
Based on the assumption that the current player switches every turn.
- empty() - Method in enum sc.plugin2021.FieldContent
-
Prüfe, ob der Inhalt des Felds leer ist.
- equals(p) - Method in exception sc.api.plugins.exceptions.NotYourTurnException
-
- equals(other) - Method in class sc.framework.plugins.Player
-
- equals(other) - Method in class sc.plugin2021.Board
-
- equals(p) - Method in class sc.plugin2021.Coordinates
-
Eine 2D Koordinate der Form (x, y).
- equals(p) - Method in class sc.plugin2021.Field
-
Beschreibt die Farbe eines bestimmten Felds.
- equals(other) - Method in class sc.plugin2021.GameState
-
- equals(other) - Method in class sc.plugin2021.Piece
-
- equals(p) - Method in class sc.plugin2021.SetMove
-
Ein Zug, der den gegebenen Spielstein auf dem Spielfeld platziert.
- equals(p) - Method in class sc.plugin2021.SkipMove
-
Ein Zug, der die aktuelle Runde aussetzt.
- equals(p) - Method in class sc.plugin2021.Vector
-
- equals(p) - Method in class sc.protocol.helpers.RequestResult.Error
-
- equals(p) - Method in class sc.protocol.helpers.RequestResult.Success
-
- equals(p) - Method in class sc.protocol.requests.AuthenticateRequest
-
Sent by Client to authenticate as administrator. Is not answered if successful.
- equals(p) - Method in class sc.protocol.requests.CancelRequest
-
Used to cancel game and delete a GameRoom.
- equals(p) - Method in class sc.protocol.requests.ControlTimeoutRequest
-
Used to change whether a player in a slot can time out.
- equals(p) - Method in class sc.protocol.requests.FreeReservationRequest
-
Frees a claimed reservation.
- equals(p) - Method in class sc.protocol.requests.JoinPreparedRoomRequest
-
Used by client to join a room by reservation code.
The code can be received from the administrative client who requested game creation via PrepareGameRequest.
- equals(p) - Method in class sc.protocol.requests.JoinRoomRequest
-
Send by client to join game by gameType.
Creates a new gameRoom if no open gameRoom of the specified gameType exists.
- equals(p) - Method in class sc.protocol.requests.ObservationRequest
-
Request of administrative client to observe a gameRoom specified by given roomId.
- equals(p) - Method in class sc.protocol.requests.PauseGameRequest
-
Request by administrative client to pause or unpause a game specified by given roomId.
- equals(p) - Method in class sc.protocol.requests.PlayerScoreRequest
-
Request of administrative client to get score for a player (displayName of player).
Only useful if testMode was enabled before game ended.
- equals(other) - Method in class sc.protocol.requests.PrepareGameRequest
-
- equals(p) - Method in class sc.protocol.requests.StepRequest
-
Sent by administrative client to send a MoveRequest to the current player. Only works for paused games.
- equals(p) - Method in class sc.protocol.responses.GamePausedEvent
-
Indicates that the game has been paused.
- equals(p) - Method in class sc.protocol.responses.GamePreparedResponse
-
- equals(p) - Method in class sc.protocol.responses.JoinedRoomResponse
-
Response to client who successfully joined a game.
- equals(p) - Method in class sc.protocol.responses.LeftGameEvent
-
Indicates that the receiving Player left or was kicked from the game.
- equals(p) - Method in class sc.protocol.responses.MementoEvent
-
Sent to update the current state and potentially also a new perspective.
- equals(p) - Method in class sc.protocol.responses.ObservationResponse
-
Sent to client as response to successfully joining a GameRoom as Observer.
- equals(p) - Method in class sc.protocol.responses.PlayerScoreResponse
-
Response to GetScoreForPlayerRequest.
- equals(p) - Method in class sc.protocol.responses.ProtocolErrorMessage
-
Response to an erroneous message, including an error message.
- equals(p) - Method in class sc.protocol.responses.RoomPacket
-
- equals(p) - Method in class sc.protocol.responses.RoomWasJoinedEvent
-
Sent to all administrative clients after a playerClient joined a game via a JoinRoomRequest.
- equals(p) - Method in class sc.protocol.responses.TestModeResponse
-
Response to TestModeRequest containing the current status of testMode.
- equals(other) - Method in class sc.shared.GameResult
-
- equals(p) - Method in exception sc.shared.InvalidMoveException
-
Wird bei Zügen geworfen, die nicht regelkonform ausgeführt werden können.
- equals(other) - Method in class sc.shared.PlayerScore
-
- equals(other) - Method in class sc.shared.ScoreDefinition
-
- equals(p) - Method in class sc.shared.ScoreFragment
-
- equals(p) - Method in class sc.shared.ScoreValue
-
- equals(p) - Method in class sc.shared.SlotDescriptor
-
- equals(p) - Method in class sc.shared.WelcomeMessage
-
Nachricht, die zu Beginn eines Spiels an einen Client geschickt wird, um ihm seine Spielerfarbe mitzuteilen.
- equals(p) - Method in class sc.shared.WinCondition
-
Eine Zusammenfassung eines Sieges mit Sieger und Beschreibung.
- Error(error) - Constructor for class sc.protocol.helpers.RequestResult.Error
-
- Game - Class in sc.plugin2021
-
- Game() - Constructor for class sc.plugin2021.Game
-
- Game.Companion - Class in sc.plugin2021
-
- GAME_TIMEOUT - Static variable in class sc.plugin2021.util.Constants
-
Zeit (in ms), die ein Spiel höchstens dauern sollte.
- gameEnded(data, team, errorMessage) - Method in interface sc.plugin2021.IGameHandler
-
Wird aufgerufen, wenn das Spiel beendet ist.
- GameException - Exception in sc.api.plugins.exceptions
-
An exception concerning the Game within a GameRoom.
- GameException(message, cause) - Constructor for exception sc.api.plugins.exceptions.GameException
-
An exception concerning the Game within a GameRoom.
- GameException(message) - Constructor for exception sc.api.plugins.exceptions.GameException
-
An exception concerning the Game within a GameRoom.
- GameLoader - Class in sc.api.plugins.host
-
- GameLoader(clazzes) - Constructor for class sc.api.plugins.host.GameLoader
-
- GameLoader(clazz) - Constructor for class sc.api.plugins.host.GameLoader
-
- GameLoaderClient - Class in sc.networking.clients
-
This client serves the purpose to load a game state from any XML file (a replay for example). It is used to load a given board to play on.
- GameLoaderClient(inputStream) - Constructor for class sc.networking.clients.GameLoaderClient
-
- GameLogicException - Exception in sc.api.plugins.exceptions
-
An exception within the flow of a Game.
- GameLogicException(message, cause) - Constructor for exception sc.api.plugins.exceptions.GameLogicException
-
An exception within the flow of a Game.
- GameLogicException(message) - Constructor for exception sc.api.plugins.exceptions.GameLogicException
-
An exception within the flow of a Game.
- GamePausedEvent - Class in sc.protocol.responses
-
Indicates that the game has been paused.
- GamePausedEvent(nextPlayer) - Constructor for class sc.protocol.responses.GamePausedEvent
-
Indicates that the game has been paused.
- GamePlugin - Class in sc.plugin2021
-
- GamePlugin() - Constructor for class sc.plugin2021.GamePlugin
-
- GamePlugin.Companion - Class in sc.plugin2021
-
- GamePreparedResponse - Class in sc.protocol.responses
-
- GamePreparedResponse(roomId, reservations) - Constructor for class sc.protocol.responses.GamePreparedResponse
-
- GameResult - Class in sc.shared
-
Das Endergebnis eines Spiels.
- GameResult(definition, scores, winners) - Constructor for class sc.shared.GameResult
-
Das Endergebnis eines Spiels.
- GameRoomException - Exception in sc.api.plugins.exceptions
-
- GameRoomException(message, cause) - Constructor for exception sc.api.plugins.exceptions.GameRoomException
-
- GameRoomException(message) - Constructor for exception sc.api.plugins.exceptions.GameRoomException
-
- GameRuleLogic - Class in sc.plugin2021.util
-
Eine Sammlung an Funktionen, die die Spielregeln logisch umsetzen.
Sie beinhalten primär Funktionen, um
- GameState - Class in sc.plugin2021
-
Der aktuelle Spielstand.
- GameState(first, second, startPiece, board, turn, lastMove, lastMoveMono, blueShapes, yellowShapes, redShapes, greenShapes, validColors) - Constructor for class sc.plugin2021.GameState
-
Der aktuelle Spielstand.
- GameState(first, second, startPiece, board, turn, lastMove, lastMoveMono, blueShapes, yellowShapes, redShapes, greenShapes) - Constructor for class sc.plugin2021.GameState
-
Der aktuelle Spielstand.
- GameState(first, second, startPiece, board, turn, lastMove, lastMoveMono, blueShapes, yellowShapes, redShapes) - Constructor for class sc.plugin2021.GameState
-
Der aktuelle Spielstand.
- GameState(first, second, startPiece, board, turn, lastMove, lastMoveMono, blueShapes, yellowShapes) - Constructor for class sc.plugin2021.GameState
-
Der aktuelle Spielstand.
- GameState(first, second, startPiece, board, turn, lastMove, lastMoveMono, blueShapes) - Constructor for class sc.plugin2021.GameState
-
Der aktuelle Spielstand.
- GameState(first, second, startPiece, board, turn, lastMove, lastMoveMono) - Constructor for class sc.plugin2021.GameState
-
Der aktuelle Spielstand.
- GameState(first, second, startPiece, board, turn, lastMove) - Constructor for class sc.plugin2021.GameState
-
Der aktuelle Spielstand.
- GameState(first, second, startPiece, board, turn) - Constructor for class sc.plugin2021.GameState
-
Der aktuelle Spielstand.
- GameState(first, second, startPiece, board) - Constructor for class sc.plugin2021.GameState
-
Der aktuelle Spielstand.
- GameState(first, second, startPiece) - Constructor for class sc.plugin2021.GameState
-
Der aktuelle Spielstand.
- GameState(first, second) - Constructor for class sc.plugin2021.GameState
-
Der aktuelle Spielstand.
- GameState(first) - Constructor for class sc.plugin2021.GameState
-
Der aktuelle Spielstand.
- GameState() - Constructor for class sc.plugin2021.GameState
-
Der aktuelle Spielstand.
- GameState(other) - Constructor for class sc.plugin2021.GameState
-
- GameState.Companion - Class in sc.plugin2021
-
- GameStateKt - Class in sc.plugin2021
-
- GameStateKt() - Constructor for class sc.plugin2021.GameStateKt
-
- generateReplayFilename(pluginUuid, descriptors) - Static method in class sc.framework.HelperMethods
-
Returns a new generated filename for a replay file.
- generateScoreMap() - Method in class sc.framework.plugins.AbstractGame
-
- get(x, y) - Method in class sc.plugin2021.Board
-
Gibt das Feld an den gegebenen Koordinaten zurück.
- get(position) - Method in class sc.plugin2021.Board
-
Gibt das Feld an den gegebenen Koordinaten zurück.
- get(rotation, shouldFlip) - Method in enum sc.plugin2021.PieceShape
-
Index Operator, der die den Parametern entsprechende Variation zurückgibt.
Syntax: PieceShape[Rotation, shouldFlip]
- get(index) - Method in class sc.shared.ScoreDefinition
-
- getActivate() - Method in class sc.protocol.requests.ControlTimeoutRequest
-
- getActivePlayer() - Method in class sc.framework.plugins.AbstractGame
-
- getActual() - Method in exception sc.api.plugins.exceptions.NotYourTurnException
-
- getAggregation() - Method in class sc.shared.ScoreFragment
-
- getArea($this$area) - Static method in class sc.plugin2021.util.CoordinateHelpersKt
-
Berechne die Ausmaße des kleinstmöglichen Rechtecks, welches alle Koordinaten umfasst.
- getArea() - Method in class sc.plugin2021.Vector
-
Die Fläche des Rechtecks, dessen Diagonale der Vector ist.
- getAsVectors() - Method in enum sc.plugin2021.PieceShape
-
Die Form als Sammlung aus Vektoren.
- getBasicXStream() - Method in class sc.networking.XStreamProvider.Companion
-
- getBoard() - Method in class sc.api.plugins.TwoPlayerGameState
-
- getBoard() - Method in class sc.plugin2021.GameState
-
Das aktuelle Spielfeld.
- getCanTimeout() - Method in class sc.framework.plugins.Player
-
- getCanTimeout() - Method in class sc.shared.SlotDescriptor
-
- getCardinals() - Method in class sc.plugin2021.Vector.Companion
-
Die vier Vektoren in kardinaler Richtung.
- getCause() - Method in class sc.shared.PlayerScore
-
- getClassesToRegister() - Method in interface sc.networking.XStreamProvider
-
- getClassesToRegister() - Method in class sc.plugin2021.xstream.BlokusXStream
-
- getColor() - Method in class sc.framework.plugins.Player
-
- getColor() - Method in class sc.plugin2021.Move
-
- getColor() - Method in class sc.plugin2021.Piece
-
Die Farbe des Teams,
- getColor() - Method in class sc.plugin2021.SetMove
-
- getColor() - Method in class sc.plugin2021.SkipMove
-
Die
- getColor() - Method in class sc.shared.WelcomeMessage
-
- getColoredFields(board, color) - Static method in class sc.plugin2021.util.GameRuleLogic
-
- getColors() - Method in enum sc.plugin2021.Team
-
- getCOLORS() - Method in class sc.plugin2021.util.Constants
-
Anzahl an im Spiel verfügbaren Farben.
- getContent() - Method in class sc.plugin2021.Field
-
Die Farbe des Felds,
- getCoordinates() - Method in class sc.plugin2021.Field
-
die Position des Felds,
- getCoordinates() - Method in class sc.plugin2021.Piece
-
Die tatsächlichen Koordinaten, die der Stein am Ende haben soll.
- getCoordinates() - Method in enum sc.plugin2021.PieceShape
-
Die normalisierten Koordinaten, die die tatsächliche Form ausmachen.
- getCorners() - Method in class sc.plugin2021.Coordinates
-
Gibt ein Set der vier Ecken dieser Koordinaten zurück.
- getCurrentColor() - Method in class sc.plugin2021.GameState
-
Die Farbe, die am Zug ist.
- getCurrentDateTime() - Static method in class sc.framework.HelperMethods
-
Returns the current date and time as string formatted as yyyy.MM.dd HH_mm_ss.
- getCurrentError() - Method in interface sc.networking.clients.IControllableGame
-
- getCurrentError() - Method in class sc.networking.clients.ObservingClient
-
- getCurrentPlayer() - Method in class sc.api.plugins.TwoPlayerGameState
-
Der Spieler, der am Zug ist.
- getCurrentPlayer() - Method in class sc.plugin2021.GameState
-
Der Spieler, der am Zug ist.
- getCurrentState() - Method in class sc.framework.plugins.AbstractGame
-
- getCurrentState() - Method in interface sc.networking.clients.IControllableGame
-
- getCurrentState() - Method in class sc.networking.clients.ObservingClient
-
- getCurrentState() - Method in class sc.plugin2021.Game
-
- getCurrentTeam() - Method in class sc.api.plugins.TwoPlayerGameState
-
- getCurrentTeam() - Method in class sc.plugin2021.GameState
-
Das Team, das am Zug ist.
- getData() - Method in exception sc.api.plugins.exceptions.NotYourTurnException
-
- getData() - Method in class sc.protocol.responses.RoomPacket
-
- getDefinition() - Method in class sc.shared.GameResult
-
- getDiagonals() - Method in class sc.plugin2021.Vector.Companion
-
Die vier Vektoren in diagonaler Richtung.
- getDimension() - Method in enum sc.plugin2021.PieceShape
-
Ein Vector, der das kleinstmögliche Rechteck beschreibt, dass die vollständige Form umfasst.
- getDisconnectCause() - Method in class sc.networking.clients.XStreamClient
-
- getDisplayName() - Method in class sc.framework.plugins.Player
-
- getDisplayName() - Method in class sc.protocol.requests.PlayerScoreRequest
-
- getDisplayName() - Method in class sc.shared.Score
-
- getDisplayName() - Method in class sc.shared.SlotDescriptor
-
- getDx() - Method in class sc.plugin2021.Vector
-
die Differenz in x-Richtung
- getDy() - Method in class sc.plugin2021.Vector
-
die Differenz in y-Richtung
- getError() - Method in class sc.plugin2021.AbstractClient
-
Storage for the reason of a rule violation, if any occurs.
- getError() - Method in class sc.protocol.helpers.RequestResult.Error
-
- getExisting() - Method in class sc.protocol.responses.RoomWasJoinedEvent
-
- getExpected() - Method in exception sc.api.plugins.exceptions.NotYourTurnException
-
- getField(x, y) - Method in interface sc.api.plugins.IBoard
-
- getField(x, y) - Method in class sc.plugin2021.Board
-
Gibt das Feld an den gegebenen Koordinaten zurück.
- getFirst() - Method in class sc.api.plugins.TwoPlayerGameState
-
- getFirst() - Method in class sc.plugin2021.GameState
-
Das erste Team,
- getForced() - Method in class sc.protocol.requests.StepRequest
-
- getFragment() - Method in class sc.shared.ScoreValue
-
- getGameType() - Method in class sc.protocol.requests.JoinRoomRequest
-
- getGameType() - Method in class sc.protocol.requests.PrepareGameRequest
-
- getGerman() - Method in enum sc.plugin2021.Color
-
- getHandler() - Method in class sc.plugin2021.AbstractClient
-
The handler reacts to messages from the server received by the lobby client.
- getHardTimeout() - Method in class sc.framework.plugins.ActionTimeout
-
- getHardTimeout() - Method in class sc.framework.plugins.Player
-
- getHistory() - Method in class sc.networking.clients.ObservingClient
-
- getIndex() - Method in interface sc.api.plugins.ITeam
-
- getIndex() - Method in enum sc.plugin2021.Team
-
- getInputStream() - Method in class sc.networking.FileSystemInterface
-
- getInputStream() - Method in interface sc.networking.INetworkInterface
-
- getInputStream() - Method in class sc.networking.TcpNetwork
-
- getKind() - Method in class sc.plugin2021.Piece
-
Die Form des Steins.
- getLastMove() - Method in class sc.api.plugins.TwoPlayerGameState
-
Letzter getaetigter Zug.
- getLastMove() - Method in class sc.plugin2021.GameState
-
Der zuletzt gespielte Zug.
- getLastMoveMono() - Method in class sc.plugin2021.GameState
-
Speichert für jede Farbe,
- getLeft() - Method in class sc.framework.plugins.Player
-
- getLetter() - Method in enum sc.plugin2021.FieldContent
-
- getListeners() - Method in class sc.framework.plugins.AbstractGame
-
- getListeners() - Method in class sc.framework.plugins.Player
-
- getLogger() - Method in class sc.framework.plugins.AbstractGame.Companion
-
- getLogger() - Method in class sc.plugin2021.Game.Companion
-
- getLogger() - Method in class sc.plugin2021.GameState.Companion
-
- getLogger() - Method in class sc.plugin2021.util.GameRuleLogic
-
- getLogger() - Method in class sc.plugin2021.xstream.BoardConverter.Companion
-
- getLogMessage() - Method in class sc.protocol.responses.ProtocolErrorMessage
-
- getMessage() - Method in exception sc.api.plugins.exceptions.RescuableClientException
-
- getMessage() - Method in enum sc.plugin2021.util.MoveMistake
-
- getMessage() - Method in enum sc.plugin2021.util.WinReason
-
- getMessage() - Method in class sc.protocol.responses.ProtocolErrorMessage
-
- getMessage() - Method in interface sc.shared.IMoveMistake
-
- getMessage($this, playerName) - Static method in class sc.shared.IWinReason.DefaultImpls
-
- getMessage() - Method in interface sc.shared.IWinReason
-
- getMessage(playerName) - Method in interface sc.shared.IWinReason
-
- getMistake() - Method in exception sc.shared.InvalidMoveException
-
ist die Art der Regelverletzung.
- getMove() - Method in exception sc.shared.InvalidMoveException
-
ist der Zug,
- getName() - Method in interface sc.api.plugins.ITeam
-
- getName() - Method in class sc.shared.ScoreFragment
-
- getNeighbors() - Method in class sc.plugin2021.Coordinates
-
Gibt ein Set der vier benachbarten Felder dieser Koordinaten zurück.
- getNext() - Method in enum sc.plugin2021.Color
-
Die nächste Farbe in der Reihenfolge.
- getNextPlayer() - Method in class sc.protocol.responses.GamePausedEvent
-
the next Player to move after unpausing
- getNumberOfTests() - Method in class sc.shared.Score
-
- getOpponent(player) - Method in class sc.api.plugins.TwoPlayerGameState
-
- getOrderedColors() - Method in class sc.plugin2021.GameState
-
Liste aller Farben in ihrer Zugreihenfolge.
- getOrigin() - Method in class sc.plugin2021.Coordinates.Companion
-
Der Ursprung des Koordinatensystems (0, 0).
- getOriginalRequest() - Method in class sc.protocol.responses.ProtocolErrorMessage
-
- getOtherPlayer() - Method in class sc.api.plugins.TwoPlayerGameState
-
Der Spieler, der nicht am Zug ist.
- getOtherTeam() - Method in class sc.api.plugins.TwoPlayerGameState
-
- getOutputStream() - Method in class sc.networking.FileSystemInterface
-
- getOutputStream() - Method in interface sc.networking.INetworkInterface
-
- getOutputStream() - Method in class sc.networking.TcpNetwork
-
- getParts() - Method in class sc.shared.PlayerScore
-
- getPassword() - Method in class sc.protocol.requests.AuthenticateRequest
-
- getPause() - Method in class sc.protocol.requests.PauseGameRequest
-
- getPause() - Method in class sc.protocol.requests.PrepareGameRequest
-
- getPerspective() - Method in interface sc.framework.plugins.IPerspectiveProvider
-
- getPerspective() - Method in class sc.protocol.responses.MementoEvent
-
- getPiece() - Method in class sc.plugin2021.SetMove
-
der zu platzierende Spielstein
- getPlayer(team) - Method in class sc.api.plugins.TwoPlayerGameState
-
- getPlayerColor($this$playerColor) - Static method in class sc.plugin2021.TeamKt
-
- getPlayerNames() - Method in class sc.api.plugins.TwoPlayerGameState
-
- getPlayers() - Method in interface sc.api.plugins.IGameInstance
-
- getPlayers() - Method in class sc.api.plugins.TwoPlayerGameState
-
Liste aller Spieler in Reihenfolge.
- getPlayers() - Method in class sc.framework.plugins.AbstractGame
-
- getPlayerScores() - Method in interface sc.api.plugins.IGameInstance
-
- getPlayerScores() - Method in class sc.plugin2021.Game
-
- getPluginUUID() - Method in interface sc.api.plugins.IGameInstance
-
Used for generating replay name.
- getPluginUUID() - Method in class sc.framework.plugins.AbstractGame
-
Used for generating replay name.
- getPointsForPlayer(team) - Method in class sc.api.plugins.TwoPlayerGameState
-
Gibt die angezeigte Punktzahl des Spielers zurueck.
- getPointsForPlayer(team) - Method in class sc.plugin2021.GameState
-
Berechne die Punkteanzahl für das gegebene Team.
- getPointsFromUndeployed(undeployed, monoLast) - Static method in class sc.plugin2021.util.GameRuleLogic
-
- getPosition() - Method in enum sc.plugin2021.Corner
-
- getPosition() - Method in class sc.plugin2021.Piece
-
Die
- getPossibleMoves(gameState) - Static method in class sc.plugin2021.util.GameRuleLogic
-
- getPossibleMovesForShape(gameState, shape) - Static method in class sc.plugin2021.util.GameRuleLogic
-
- getPureXStream() - Method in class sc.networking.XStreamProvider.Companion
-
- getRandomPentomino() - Static method in class sc.plugin2021.util.GameRuleLogic
-
- getReason() - Method in class sc.shared.PlayerScore
-
- getReason() - Method in class sc.shared.WinCondition
-
Siegesgrund.
- getRelevantForRanking() - Method in class sc.shared.ScoreFragment
-
- getReservation() - Method in class sc.protocol.requests.FreeReservationRequest
-
- getReservationCode() - Method in class sc.protocol.requests.JoinPreparedRoomRequest
-
- getReservations() - Method in class sc.protocol.responses.GamePreparedResponse
-
the reservations for the reserved slots
- getResult() - Method in interface sc.networking.clients.IControllableGame
-
- getResult() - Method in class sc.networking.clients.ObservingClient
-
- getResult() - Method in class sc.protocol.helpers.RequestResult.Success
-
- getRoomId() - Method in class sc.protocol.requests.CancelRequest
-
- getRoomId() - Method in class sc.protocol.requests.ControlTimeoutRequest
-
- getRoomId() - Method in class sc.protocol.requests.ObservationRequest
-
- getRoomId() - Method in class sc.protocol.requests.PauseGameRequest
-
- getRoomId() - Method in class sc.protocol.requests.StepRequest
-
- getRoomId() - Method in class sc.protocol.responses.GamePreparedResponse
-
- getRoomId() - Method in class sc.protocol.responses.JoinedRoomResponse
-
- getRoomId() - Method in class sc.protocol.responses.LeftGameEvent
-
- getRoomId() - Method in class sc.protocol.responses.ObservationResponse
-
- getRoomId() - Method in class sc.protocol.responses.RoomPacket
-
- getRoomId() - Method in class sc.protocol.responses.RoomWasJoinedEvent
-
- getRotation() - Method in class sc.plugin2021.Piece
-
Wie weit der Stein gedreht werden soll.
- getRound() - Method in interface sc.api.plugins.IGameState
-
Aktuelle Rundenzahl
- getRound() - Method in class sc.plugin2021.GameState
-
Die Rundenzahl.
- getScore() - Method in class sc.protocol.responses.PlayerScoreResponse
-
- getScoreDefinition() - Method in interface sc.api.plugins.IGamePlugin
-
- getScoreDefinition() - Method in class sc.plugin2021.GamePlugin
-
- getScoreDefinition() - Method in class sc.shared.Score
-
- getScoreFor(player) - Method in class sc.framework.plugins.AbstractGame
-
- getScoreFor(player) - Method in class sc.plugin2021.Game
-
- getScores() - Method in class sc.shared.GameResult
-
die Punktzahlen aller Spieler.
- getScoreValues() - Method in class sc.shared.Score
-
- getSecond() - Method in class sc.api.plugins.TwoPlayerGameState
-
- getSecond() - Method in class sc.plugin2021.GameState
-
Das zweite Team,
- getShape() - Method in class sc.plugin2021.Piece
-
Die normalisierte Form des Steins.
- getShapes() - Method in class sc.plugin2021.PieceShape.Companion
-
Eine Map, die anhand des Index' des Enums die entsprechende Form zurückgibt.
- getSize() - Method in enum sc.plugin2021.PieceShape
-
Die Größe Der Form, als Anzahl an Feldern, die es belegt.
- getSize() - Method in class sc.shared.ScoreDefinition
-
- getSlot() - Method in class sc.protocol.requests.ControlTimeoutRequest
-
- getSlotDescriptors() - Method in class sc.protocol.requests.PrepareGameRequest
-
- getSoftTimeout() - Method in class sc.framework.plugins.ActionTimeout
-
- getSoftTimeout() - Method in class sc.framework.plugins.Player
-
- getStartPiece() - Method in class sc.plugin2021.GameState
-
Der Spielstein,
- getStartPlayer() - Method in class sc.api.plugins.TwoPlayerGameState
-
Der Spieler, der das Spiel begonnen hat.
- getStartTeam() - Method in class sc.api.plugins.TwoPlayerGameState
-
- getState() - Method in class sc.protocol.responses.MementoEvent
-
- getTeam() - Method in class sc.plugin2021.AbstractClient
-
The team the client belongs to. Needed to connect client and player.
- getTeam() - Method in enum sc.plugin2021.Color
-
Das Team, zu der die Farbe gehört.
- getTestMode() - Method in class sc.protocol.requests.TestModeRequest
-
- getTestMode() - Method in class sc.protocol.responses.TestModeResponse
-
- getTimeDiff() - Method in class sc.framework.plugins.ActionTimeout
-
- getTimeoutFor(player) - Method in class sc.framework.plugins.AbstractGame
-
- getTimeoutFor(player) - Method in class sc.plugin2021.Game
-
- getTransformations() - Method in enum sc.plugin2021.PieceShape
-
Eine Map aller Transformationen sowie die entsprechende resultierende Variante.
- getTurn() - Method in interface sc.api.plugins.IGameState
-
Aktuelle Zugzahl
- getTurn() - Method in class sc.plugin2021.GameState
-
Die Anzahl an bereits getätigten Zügen.
- getValidFields(board, color) - Static method in class sc.plugin2021.util.GameRuleLogic
-
- getValue() - Method in enum sc.plugin2021.Rotation
-
- getValue() - Method in class sc.shared.ScoreValue
-
- getValues() - Method in class sc.shared.PlayerScore
-
- getVariants() - Method in enum sc.plugin2021.PieceShape
-
Eine Sammlung aller möglichen Varianten der Form, zusammen mit einer Transformation, die sie erzeugt hat.
- getViolationReason() - Method in class sc.framework.plugins.Player
-
- getWinner() - Method in class sc.shared.WinCondition
-
Farbe des Gewinners.
- getWinners() - Method in interface sc.api.plugins.IGameInstance
-
Returns the players that have won the game, empty if the game has no winners,
or null if the game has not yet finished.
- getWinners() - Method in class sc.plugin2021.Game
-
Returns the players that have won the game, empty if the game has no winners,
or null if the game has not yet finished.
- getWinners() - Method in class sc.shared.GameResult
-
eine Liste an Gewinnern,
- getX() - Method in class sc.plugin2021.Coordinates
-
- getXStream() - Method in class sc.networking.clients.XStreamClient
-
- getY() - Method in class sc.plugin2021.Coordinates
-
- goToFirst() - Method in interface sc.networking.clients.IControllableGame
-
- goToFirst() - Method in class sc.networking.clients.ObservingClient
-
- goToLast() - Method in interface sc.networking.clients.IControllableGame
-
- goToLast() - Method in class sc.networking.clients.ObservingClient
-
- handleDisconnect(cause) - Method in class sc.networking.clients.XStreamClient
-
- handleDisconnect(cause, exception) - Method in class sc.networking.clients.XStreamClient
-
- handleError(e) - Method in interface sc.api.plugins.host.IRequestResult
-
- HARD_TIMEOUT - Static variable in class sc.plugin2021.util.Constants
-
Zeit (in ms), ab dem eine Zuganfrage abgebrochen wird.
- hasHardTimeout() - Method in class sc.framework.plugins.Player
-
- hashCode() - Method in exception sc.api.plugins.exceptions.NotYourTurnException
-
- hashCode() - Method in class sc.framework.plugins.Player
-
- hashCode() - Method in class sc.plugin2021.Board
-
- hashCode() - Method in class sc.plugin2021.Coordinates
-
Eine 2D Koordinate der Form (x, y).
- hashCode() - Method in class sc.plugin2021.Field
-
Beschreibt die Farbe eines bestimmten Felds.
- hashCode() - Method in class sc.plugin2021.GameState
-
- hashCode() - Method in class sc.plugin2021.Piece
-
- hashCode() - Method in class sc.plugin2021.SetMove
-
Ein Zug, der den gegebenen Spielstein auf dem Spielfeld platziert.
- hashCode() - Method in class sc.plugin2021.SkipMove
-
Ein Zug, der die aktuelle Runde aussetzt.
- hashCode() - Method in class sc.plugin2021.Vector
-
- hashCode() - Method in class sc.protocol.helpers.RequestResult.Error
-
- hashCode() - Method in class sc.protocol.helpers.RequestResult.Success
-
- hashCode() - Method in class sc.protocol.requests.AuthenticateRequest
-
Sent by Client to authenticate as administrator. Is not answered if successful.
- hashCode() - Method in class sc.protocol.requests.CancelRequest
-
Used to cancel game and delete a GameRoom.
- hashCode() - Method in class sc.protocol.requests.ControlTimeoutRequest
-
Used to change whether a player in a slot can time out.
- hashCode() - Method in class sc.protocol.requests.FreeReservationRequest
-
Frees a claimed reservation.
- hashCode() - Method in class sc.protocol.requests.JoinPreparedRoomRequest
-
Used by client to join a room by reservation code.
The code can be received from the administrative client who requested game creation via PrepareGameRequest.
- hashCode() - Method in class sc.protocol.requests.JoinRoomRequest
-
Send by client to join game by gameType.
Creates a new gameRoom if no open gameRoom of the specified gameType exists.
- hashCode() - Method in class sc.protocol.requests.ObservationRequest
-
Request of administrative client to observe a gameRoom specified by given roomId.
- hashCode() - Method in class sc.protocol.requests.PauseGameRequest
-
Request by administrative client to pause or unpause a game specified by given roomId.
- hashCode() - Method in class sc.protocol.requests.PlayerScoreRequest
-
Request of administrative client to get score for a player (displayName of player).
Only useful if testMode was enabled before game ended.
- hashCode() - Method in class sc.protocol.requests.PrepareGameRequest
-
- hashCode() - Method in class sc.protocol.requests.StepRequest
-
Sent by administrative client to send a MoveRequest to the current player. Only works for paused games.
- hashCode() - Method in class sc.protocol.responses.GamePausedEvent
-
Indicates that the game has been paused.
- hashCode() - Method in class sc.protocol.responses.GamePreparedResponse
-
- hashCode() - Method in class sc.protocol.responses.JoinedRoomResponse
-
Response to client who successfully joined a game.
- hashCode() - Method in class sc.protocol.responses.LeftGameEvent
-
Indicates that the receiving Player left or was kicked from the game.
- hashCode() - Method in class sc.protocol.responses.MementoEvent
-
Sent to update the current state and potentially also a new perspective.
- hashCode() - Method in class sc.protocol.responses.ObservationResponse
-
Sent to client as response to successfully joining a GameRoom as Observer.
- hashCode() - Method in class sc.protocol.responses.PlayerScoreResponse
-
Response to GetScoreForPlayerRequest.
- hashCode() - Method in class sc.protocol.responses.ProtocolErrorMessage
-
Response to an erroneous message, including an error message.
- hashCode() - Method in class sc.protocol.responses.RoomPacket
-
- hashCode() - Method in class sc.protocol.responses.RoomWasJoinedEvent
-
Sent to all administrative clients after a playerClient joined a game via a JoinRoomRequest.
- hashCode() - Method in class sc.protocol.responses.TestModeResponse
-
Response to TestModeRequest containing the current status of testMode.
- hashCode() - Method in class sc.shared.GameResult
-
- hashCode() - Method in exception sc.shared.InvalidMoveException
-
Wird bei Zügen geworfen, die nicht regelkonform ausgeführt werden können.
- hashCode() - Method in class sc.shared.PlayerScore
-
- hashCode() - Method in class sc.shared.ScoreDefinition
-
- hashCode() - Method in class sc.shared.ScoreFragment
-
- hashCode() - Method in class sc.shared.ScoreValue
-
- hashCode() - Method in class sc.shared.SlotDescriptor
-
- hashCode() - Method in class sc.shared.WelcomeMessage
-
Nachricht, die zu Beginn eines Spiels an einen Client geschickt wird, um ihm seine Spielerfarbe mitzuteilen.
- hashCode() - Method in class sc.shared.WinCondition
-
Eine Zusammenfassung eines Sieges mit Sieger und Beschreibung.
- hasLeft() - Method in class sc.framework.plugins.Player
-
- hasNext() - Method in class sc.networking.clients.ControllingClient
-
- hasNext() - Method in interface sc.networking.clients.IControllableGame
-
- hasNext() - Method in class sc.networking.clients.ObservingClient
-
- hasPrevious() - Method in interface sc.networking.clients.IControllableGame
-
- hasPrevious() - Method in class sc.networking.clients.ObservingClient
-
- hasSoftTimeout() - Method in class sc.framework.plugins.Player
-
- hasValidColors() - Method in class sc.plugin2021.GameState
-
- hasViolated() - Method in class sc.framework.plugins.Player
-
- HelperMethods - Class in sc.framework
-
- HelperMethods() - Constructor for class sc.framework.HelperMethods
-
- IAdministrativeListener - Interface in sc.networking.clients
-
- IAdministrativeListener() - Constructor for interface sc.networking.clients.IAdministrativeListener
-
- IBoard - Interface in sc.api.plugins
-
- IBoard() - Constructor for interface sc.api.plugins.IBoard
-
- IControllableGame - Interface in sc.networking.clients
-
- IControllableGame() - Constructor for interface sc.networking.clients.IControllableGame
-
- id() - Method in interface sc.api.plugins.IGamePlugin
-
- id() - Method in class sc.plugin2021.GamePlugin
-
- IField - Interface in sc.api.plugins
-
- IField() - Constructor for interface sc.api.plugins.IField
-
- IGameHandler - Interface in sc.plugin2021
-
Das Interface der Logik.
Der GameHandler kommuniziert mit dem Server, d.h.
Er bekommt Events (Updates, Anfragen, Spielende) und
beantwortet Zuganfragen mit einem entsprechenden Zug.
- IGameHandler() - Constructor for interface sc.plugin2021.IGameHandler
-
- IGameInstance - Interface in sc.api.plugins
-
- IGameInstance() - Constructor for interface sc.api.plugins.IGameInstance
-
- IGameListener - Interface in sc.api.plugins.host
-
- IGameListener() - Constructor for interface sc.api.plugins.host.IGameListener
-
- IGamePlugin - Interface in sc.api.plugins
-
- IGamePlugin() - Constructor for interface sc.api.plugins.IGamePlugin
-
- IGameState - Interface in sc.api.plugins
-
Ein
GameState
beinhaltet alle Informationen, die den Spielstand zu
einem gegebenen Zeitpunkt, das heisst zwischen zwei Spielzuegen, beschreiben.
Dies umfasst eine fortlaufende Zugnummer (
round
&
turn
), die
der Spielserver als Antwort von einem der beiden Spieler erwartet.
Weiterhin gehoeren die Informationen ueber die beiden Spieler und das Spielfeld
zum Zustand. Zuseatzlich wird ueber den zuletzt getaetigeten Spielzung und ggf.
ueber das Spielende informiert.
- IGameState() - Constructor for interface sc.api.plugins.IGameState
-
- IHistoryListener - Interface in sc.networking.clients
-
- IHistoryListener() - Constructor for interface sc.networking.clients.IHistoryListener
-
- ILobbyClientListener - Interface in sc.networking.clients
-
Receives updates within a GameRoom on the client-side.
- ILobbyClientListener() - Constructor for interface sc.networking.clients.ILobbyClientListener
-
- ILobbyRequest - Interface in sc.protocol.requests
-
Parent for all messages the Lobby can handle.
- ILobbyRequest() - Constructor for interface sc.protocol.requests.ILobbyRequest
-
- IMove - Interface in sc.api.plugins
-
- IMove() - Constructor for interface sc.api.plugins.IMove
-
- IMoveMistake - Interface in sc.shared
-
- IMoveMistake() - Constructor for interface sc.shared.IMoveMistake
-
- INetworkInterface - Interface in sc.networking
-
Interface for the "Network"-component. By using this interface it is much easier to write tests (with Mock-objects) so that you don't need a working TCP/IP client.
- INetworkInterface() - Constructor for interface sc.networking.INetworkInterface
-
- initialize() - Method in interface sc.plugins.IPlugin
-
- INSTANCE - Static variable in class sc.plugin2021.util.Constants
-
Eine Sammlung an verschiedenen Konstanten, die im Spiel verwendet werden.
- INSTANCE - Static variable in class sc.plugin2021.util.GameRuleLogic
-
Eine Sammlung an Funktionen, die die Spielregeln logisch umsetzen.
Sie beinhalten primär Funktionen, um
- INSTANCE - Static variable in class sc.protocol.helpers.LobbyProtocol
-
- INSTANCE - Static variable in class sc.shared.SharedConfiguration
-
- InvalidGameStateException - Exception in sc.shared
-
This exception is thrown if the server tried to create an invalid game state.
This indicates an error in the server or plugin code. It should never be
thrown on invalid input to the server (i.e. invalid move made).
- InvalidGameStateException(reason) - Constructor for exception sc.shared.InvalidGameStateException
-
This exception is thrown if the server tried to create an invalid game state.
This indicates an error in the server or plugin code. It should never be
thrown on invalid input to the server (i.e. invalid move made).
- InvalidMoveException - Exception in sc.shared
-
Wird bei Zügen geworfen, die nicht regelkonform ausgeführt werden können.
- InvalidMoveException(mistake, move) - Constructor for exception sc.shared.InvalidMoveException
-
Wird bei Zügen geworfen, die nicht regelkonform ausgeführt werden können.
- InvalidMoveException(mistake) - Constructor for exception sc.shared.InvalidMoveException
-
Wird bei Zügen geworfen, die nicht regelkonform ausgeführt werden können.
- InvalidScoreDefinitionException - Exception in sc.networking
-
- InvalidScoreDefinitionException(msg) - Constructor for exception sc.networking.InvalidScoreDefinitionException
-
- invokeHandlers(response) - Method in class sc.protocol.helpers.AsyncResultManager
-
- IPerspectiveAware - Interface in sc.framework.plugins
-
- IPerspectiveAware() - Constructor for interface sc.framework.plugins.IPerspectiveAware
-
- IPerspectiveProvider - Interface in sc.framework.plugins
-
- IPerspectiveProvider() - Constructor for interface sc.framework.plugins.IPerspectiveProvider
-
- IPlayerListener - Interface in sc.api.plugins.host
-
- IPlayerListener() - Constructor for interface sc.api.plugins.host.IPlayerListener
-
- IPlugin - Interface in sc.plugins
-
- IPlugin() - Constructor for interface sc.plugins.IPlugin
-
- IPollsHistory - Interface in sc.networking.clients
-
- IPollsHistory() - Constructor for interface sc.networking.clients.IPollsHistory
-
- IPollsUpdates - Interface in sc.networking.clients
-
- IPollsUpdates() - Constructor for interface sc.networking.clients.IPollsUpdates
-
- IRequestResult - Interface in sc.api.plugins.host
-
- IRequestResult() - Constructor for interface sc.api.plugins.host.IRequestResult
-
- isAffected(roomId) - Method in class sc.networking.clients.ObservingClient
-
- isAtEnd() - Method in interface sc.networking.clients.IControllableGame
-
- isAtEnd() - Method in class sc.networking.clients.ObservingClient
-
- isAtStart() - Method in interface sc.networking.clients.IControllableGame
-
- isAtStart() - Method in class sc.networking.clients.ObservingClient
-
- isClosed() - Method in class sc.networking.clients.XStreamClient
-
- isEmpty() - Method in class sc.plugin2021.Board
-
Prüft, ob alle Felder leer sind.
- isEmpty() - Method in class sc.plugin2021.Field
-
- isFirstMove(gameState) - Static method in class sc.plugin2021.util.GameRuleLogic
-
- isFlipped() - Method in class sc.plugin2021.Piece
-
Ob der Stein entlang der y-Achse gespiegelt werden soll.
- isGameOver() - Method in interface sc.networking.clients.IControllableGame
-
- isGameOver() - Method in class sc.networking.clients.ObservingClient
-
- isGameOver() - Method in class sc.plugin2021.AbstractClient
-
- isGameOver() - Method in class sc.plugin2021.Game
-
- isObstructed(position) - Method in class sc.plugin2021.Board
-
Prüft, ob auf dieser
position
bereits eine Spielerfarbe liegt.
- isOnCorner(position) - Static method in class sc.plugin2021.util.GameRuleLogic
-
Prüfe, ob die gegebene Position eine Ecke des Spielfelds ist.
- isPaused() - Method in class sc.framework.plugins.AbstractGame
-
- isPaused() - Method in interface sc.networking.clients.IControllableGame
-
- isPaused() - Method in class sc.networking.clients.ObservingClient
-
- isReady() - Method in class sc.networking.clients.XStreamClient
-
- isRegular() - Method in class sc.shared.GameResult
-
- isReplay() - Method in interface sc.networking.clients.IControllableGame
-
- isReplay() - Method in class sc.networking.clients.ObservingClient
-
- isValid() - Method in class sc.shared.ScoreDefinition
-
- isValidColor(color) - Method in class sc.plugin2021.GameState
-
- isValidColor() - Method in class sc.plugin2021.GameState
-
- isValidSetMove(gameState, move) - Static method in class sc.plugin2021.util.GameRuleLogic
-
- isVisibleFor(viewer, field) - Method in interface sc.framework.plugins.IPerspectiveAware
-
- ITeam - Interface in sc.api.plugins
-
This represents the team a player is in / is playing for.
Concrete implementations belong into the corresponding plugin.
- ITeam() - Constructor for interface sc.api.plugins.ITeam
-
- iterator() - Method in class sc.shared.Score
-
- iterator() - Method in class sc.shared.ScoreDefinition
-
- IUpdateListener - Interface in sc.networking.clients
-
- IUpdateListener() - Constructor for interface sc.networking.clients.IUpdateListener
-
- IWinReason - Interface in sc.shared
-
- IWinReason() - Constructor for interface sc.shared.IWinReason
-
- IWinReason.DefaultImpls - Class in sc.shared
-
- pause() - Method in class sc.networking.clients.ControllingClient
-
- pause() - Method in interface sc.networking.clients.IControllableGame
-
- pause() - Method in class sc.networking.clients.ObservingClient
-
- paused - Variable in class sc.networking.clients.ObservingClient
-
- PauseGameRequest - Class in sc.protocol.requests
-
Request by administrative client to pause or unpause a game specified by given roomId.
- PauseGameRequest(roomId, pause) - Constructor for class sc.protocol.requests.PauseGameRequest
-
Request by administrative client to pause or unpause a game specified by given roomId.
- performMove(gameState, move) - Static method in class sc.plugin2021.util.GameRuleLogic
-
- Piece - Class in sc.plugin2021
-
Ein Spielstein mit Farbe, position und entsprechend transformierter Form.
- Piece(color, kind, rotation, isFlipped, position) - Constructor for class sc.plugin2021.Piece
-
Ein Spielstein mit Farbe, position und entsprechend transformierter Form.
- Piece() - Constructor for class sc.plugin2021.Piece
-
Ein Spielstein mit Farbe, position und entsprechend transformierter Form.
- Piece(color, kind, rotation, isFlipped, position) - Constructor for class sc.plugin2021.Piece
-
- Piece(color, kind, shape, position) - Constructor for class sc.plugin2021.Piece
-
- PieceShape - Enum in sc.plugin2021
-
- PieceShape.Companion - Class in sc.plugin2021
-
- Player - Class in sc.framework.plugins
-
Keeps information about a player:
- Player(color, displayName) - Constructor for class sc.framework.plugins.Player
-
Keeps information about a player:
- Player(color) - Constructor for class sc.framework.plugins.Player
-
Keeps information about a player:
- PlayerKt - Class in sc.framework.plugins
-
- PlayerKt() - Constructor for class sc.framework.plugins.PlayerKt
-
- PlayerScore - Class in sc.shared
-
- PlayerScore(cause, reason, parts) - Constructor for class sc.shared.PlayerScore
-
- PlayerScore(winner, reason) - Constructor for class sc.shared.PlayerScore
-
- PlayerScore(cause, reason, scores) - Constructor for class sc.shared.PlayerScore
-
- PlayerScoreRequest - Class in sc.protocol.requests
-
Request of administrative client to get score for a player (displayName of player).
Only useful if testMode was enabled before game ended.
- PlayerScoreRequest(displayName) - Constructor for class sc.protocol.requests.PlayerScoreRequest
-
Request of administrative client to get score for a player (displayName of player).
Only useful if testMode was enabled before game ended.
- PlayerScoreResponse - Class in sc.protocol.responses
-
Response to GetScoreForPlayerRequest.
- PlayerScoreResponse(score) - Constructor for class sc.protocol.responses.PlayerScoreResponse
-
Response to GetScoreForPlayerRequest.
- PLUGIN_UUID - Static variable in class sc.plugin2021.GamePlugin
-
- PluginDescriptor - Annotation Type in sc.plugins
-
- PluginDescriptor() - Constructor for annotation type sc.plugins.PluginDescriptor
-
- plus(vector) - Method in class sc.plugin2021.Coordinates
-
- position - Variable in class sc.networking.clients.ObservingClient
-
- prepareGame(gameType) - Method in class sc.networking.clients.LobbyClient
-
- prepareGame(gameType, startPaused) - Method in class sc.networking.clients.LobbyClient
-
- prepareGameAndWait(gameType) - Method in class sc.networking.clients.LobbyClient
-
- prepareGameAndWait(request) - Method in class sc.networking.clients.LobbyClient
-
- PrepareGameRequest - Class in sc.protocol.requests
-
Request to prepare a game of gameType with two reserved slots according to slotDescriptors.
- PrepareGameRequest(gameType, slotDescriptors, pause) - Constructor for class sc.protocol.requests.PrepareGameRequest
-
Request to prepare a game of gameType with two reserved slots according to slotDescriptors.
- PrepareGameRequest(gameType, descriptor1, descriptor2, pause) - Constructor for class sc.protocol.requests.PrepareGameRequest
-
Create a prepared game with descriptors for each player.
The player descriptors default to "Player1" and "Player2".
- PrepareGameRequest(gameType, descriptor1, descriptor2) - Constructor for class sc.protocol.requests.PrepareGameRequest
-
Create a prepared game with descriptors for each player.
The player descriptors default to "Player1" and "Player2".
- PrepareGameRequest(gameType, descriptor1) - Constructor for class sc.protocol.requests.PrepareGameRequest
-
Create a prepared game with descriptors for each player.
The player descriptors default to "Player1" and "Player2".
- PrepareGameRequest(gameType) - Constructor for class sc.protocol.requests.PrepareGameRequest
-
Create a prepared game with descriptors for each player.
The player descriptors default to "Player1" and "Player2".
- previous() - Method in interface sc.networking.clients.IControllableGame
-
- previous() - Method in class sc.networking.clients.ObservingClient
-
- print($this$print, dimension) - Static method in class sc.plugin2021.util.CoordinateHelpersKt
-
Gebe die Form der Koordinaten zur Konsole aus.
- printShapes(shapes, dimension) - Static method in class sc.plugin2021.util.CoordinateHelpersKt
-
Gebe die gegebenen Formen zur Konsole aus, alle in gegebenen Ausmaßen.
- ProtocolErrorMessage - Class in sc.protocol.responses
-
Response to an erroneous message, including an error message.
- ProtocolErrorMessage(originalRequest, message) - Constructor for class sc.protocol.responses.ProtocolErrorMessage
-
Response to an erroneous message, including an error message.
- ProtocolMessage - Interface in sc.protocol.responses
-
- ProtocolMessage() - Constructor for interface sc.protocol.responses.ProtocolMessage
-
- sc.api.plugins - package sc.api.plugins
-
- sc.api.plugins.exceptions - package sc.api.plugins.exceptions
-
- sc.api.plugins.host - package sc.api.plugins.host
-
- sc.framework - package sc.framework
-
- sc.framework.plugins - package sc.framework.plugins
-
- sc.framework.plugins.protocol - package sc.framework.plugins.protocol
-
- sc.networking - package sc.networking
-
- sc.networking.clients - package sc.networking.clients
-
- sc.plugin2021 - package sc.plugin2021
-
- sc.plugin2021.util - package sc.plugin2021.util
-
- sc.plugin2021.xstream - package sc.plugin2021.xstream
-
- sc.plugins - package sc.plugins
-
- sc.protocol.helpers - package sc.protocol.helpers
-
- sc.protocol.requests - package sc.protocol.requests
-
- sc.protocol.responses - package sc.protocol.responses
-
- sc.shared - package sc.shared
-
- Score - Class in sc.shared
-
- Score(scoreDefinition, displayName) - Constructor for class sc.shared.Score
-
- ScoreAggregation - Enum in sc.shared
-
- ScoreCause - Enum in sc.shared
-
- ScoreDefinition - Class in sc.shared
-
- ScoreDefinition(fragments) - Constructor for class sc.shared.ScoreDefinition
-
- ScoreDefinition(fragments) - Constructor for class sc.shared.ScoreDefinition
-
- ScoreFragment - Class in sc.shared
-
- ScoreFragment(name, aggregation, relevantForRanking) - Constructor for class sc.shared.ScoreFragment
-
- ScoreFragment(name, aggregation) - Constructor for class sc.shared.ScoreFragment
-
- ScoreFragment(name) - Constructor for class sc.shared.ScoreFragment
-
- ScoreValue - Class in sc.shared
-
- ScoreValue(fragment, value) - Constructor for class sc.shared.ScoreValue
-
- send(packet) - Method in class sc.networking.clients.XStreamClient
-
- sendAction(move) - Method in interface sc.plugin2021.IGameHandler
-
Sendet dem Spielserver den gegebenen Zug.
Diese Funktion sollte auf eine Zuganfrage vom Server folgen.
- sendCustomData(data) - Method in class sc.networking.clients.XStreamClient
-
- sendCustomData(data) - Method in class sc.networking.clients.XStreamClient
-
- sendMessageToRoom(roomId, o) - Method in class sc.networking.clients.LobbyClient
-
- sendMove(move) - Method in class sc.plugin2021.AbstractClient
-
Sends the selected move to the server.
- set(x, y, content) - Method in class sc.plugin2021.Board
-
Ändert die Farbenbelegung des Feldes.
- set(position, content) - Method in class sc.plugin2021.Board
-
Ändert die Farbe des Feldes.
- setActivePlayer(p) - Method in class sc.framework.plugins.AbstractGame
-
- setCanTimeout(p) - Method in class sc.framework.plugins.Player
-
- setColor(p) - Method in class sc.framework.plugins.Player
-
- setDisplayName(p) - Method in class sc.framework.plugins.Player
-
- setFirst(p) - Method in class sc.plugin2021.GameState
-
Das erste Team,
- setForced(p) - Method in class sc.protocol.requests.StepRequest
-
- setGameOver(p) - Method in class sc.plugin2021.AbstractClient
-
- setHandler(p) - Method in class sc.plugin2021.AbstractClient
-
The handler reacts to messages from the server received by the lobby client.
- setHardTimeout(p) - Method in class sc.framework.plugins.Player
-
- setLastMove(p) - Method in class sc.plugin2021.GameState
-
Der zuletzt gespielte Zug.
- setLeft(p) - Method in class sc.framework.plugins.Player
-
- setListeners(p) - Method in class sc.framework.plugins.Player
-
- SetMove - Class in sc.plugin2021
-
Ein Zug, der den gegebenen Spielstein auf dem Spielfeld platziert.
- SetMove(piece) - Constructor for class sc.plugin2021.SetMove
-
Ein Zug, der den gegebenen Spielstein auf dem Spielfeld platziert.
- setNumberOfTests(numberOfTests) - Method in class sc.shared.Score
-
- setPaused(p) - Method in class sc.framework.plugins.AbstractGame
-
- setPosition(i) - Method in class sc.networking.clients.ObservingClient
-
- setRoomId(p) - Method in class sc.protocol.requests.StepRequest
-
- setSecond(p) - Method in class sc.plugin2021.GameState
-
Das zweite Team,
- setSoftTimeout(p) - Method in class sc.framework.plugins.Player
-
- setValue(p) - Method in class sc.shared.ScoreValue
-
- setViolationReason(p) - Method in class sc.framework.plugins.Player
-
- SharedConfiguration - Class in sc.shared
-
- shortString() - Method in class sc.networking.clients.XStreamClient
-
- SingleRoomClient - Class in sc.networking.clients
-
- SingleRoomClient(client, roomId) - Constructor for class sc.networking.clients.SingleRoomClient
-
- size() - Method in class sc.shared.PlayerScore
-
- SkipMove - Class in sc.plugin2021
-
Ein Zug, der die aktuelle Runde aussetzt.
- SkipMove(color) - Constructor for class sc.plugin2021.SkipMove
-
Ein Zug, der die aktuelle Runde aussetzt.
- SlotDescriptor - Class in sc.shared
-
- SlotDescriptor(displayName, canTimeout) - Constructor for class sc.shared.SlotDescriptor
-
- SlotDescriptor(displayName) - Constructor for class sc.shared.SlotDescriptor
-
- SlotDescriptor() - Constructor for class sc.shared.SlotDescriptor
-
- SOFT_TIMEOUT - Static variable in class sc.plugin2021.util.Constants
-
Zeit (in ms), die für einen Zug zur Verfügung steht.
- start() - Method in interface sc.api.plugins.IGameInstance
-
Server or an administrator requests the game to start now.
- start() - Method in class sc.framework.plugins.AbstractGame
-
- start(onTimeout) - Method in class sc.framework.plugins.ActionTimeout
-
- start() - Method in interface sc.networking.clients.IPollsHistory
-
- start() - Method in class sc.networking.clients.XStreamClient
-
Signals that client can receive and send.
- StateListener - Interface in sc.networking.clients
-
- StateListener() - Constructor for interface sc.networking.clients.StateListener
-
- StepRequest - Class in sc.protocol.requests
-
Sent by administrative client to send a MoveRequest to the current player. Only works for paused games.
- StepRequest(roomId, forced) - Constructor for class sc.protocol.requests.StepRequest
-
Sent by administrative client to send a MoveRequest to the current player. Only works for paused games.
- StepRequest(roomId) - Constructor for class sc.protocol.requests.StepRequest
-
Sent by administrative client to send a MoveRequest to the current player. Only works for paused games.
- stop() - Method in class sc.framework.plugins.ActionTimeout
-
- stop() - Method in class sc.networking.clients.XStreamClient
-
Should be called when the client needs to be stopped and the disconnect is initiated on this side. There are two situations where this should be done:
- stopReceiver() - Method in class sc.networking.clients.XStreamClient
-
- streamAllPossibleMoves(gameState) - Static method in class sc.plugin2021.util.GameRuleLogic
-
- streamPossibleMoves(gameState) - Static method in class sc.plugin2021.util.GameRuleLogic
-
- streamPossibleMovesForShape(gameState, shape, validFields) - Static method in class sc.plugin2021.util.GameRuleLogic
-
- Success(result) - Constructor for class sc.protocol.helpers.RequestResult.Success
-
- SUM_MAX_SQUARES - Static variable in class sc.plugin2021.util.GameRuleLogic
-
- TcpNetwork - Class in sc.networking
-
- TcpNetwork(socket) - Constructor for class sc.networking.TcpNetwork
-
Constructs an implementation of INetworkInterface
which operates on Java's Socket
.
- Team - Enum in sc.plugin2021
-
Die beiden verfügbaren Teams.
- Team.ONE - Class in sc.plugin2021
-
Das erste Team: Es kontrolliert Blau und Rot.
- Team.TWO - Class in sc.plugin2021
-
Das zweite Team: Es steuert Gelb und Grün.
- TeamKt - Class in sc.plugin2021
-
- TeamKt() - Constructor for class sc.plugin2021.TeamKt
-
- TestModeRequest - Class in sc.protocol.requests
-
Send by administrative client to enable or disable testMode.
- TestModeRequest(testMode) - Constructor for class sc.protocol.requests.TestModeRequest
-
Send by administrative client to enable or disable testMode.
- TestModeResponse - Class in sc.protocol.responses
-
Response to TestModeRequest containing the current status of testMode.
- TestModeResponse(testMode) - Constructor for class sc.protocol.responses.TestModeResponse
-
Response to TestModeRequest containing the current status of testMode.
- times(scalar) - Method in class sc.plugin2021.Vector
-
Verändert die Länge des Vectors um den gegebenen Faktor, ohne seine Richtung zu ändern.
- toLinkedHashSet($this$toLinkedHashSet) - Static method in class sc.plugin2021.GameStateKt
-
- TooManyPlayersException - Exception in sc.api.plugins.exceptions
-
- TooManyPlayersException() - Constructor for exception sc.api.plugins.exceptions.TooManyPlayersException
-
- toString() - Method in exception sc.api.plugins.exceptions.NotYourTurnException
-
- toString() - Method in class sc.api.plugins.TwoPlayerGameState
-
- toString() - Method in class sc.framework.plugins.ActionTimeout
-
- toString() - Method in class sc.framework.plugins.Player
-
- toString() - Method in class sc.networking.clients.XStreamClient
-
- toString() - Method in class sc.networking.TcpNetwork
-
- toString() - Method in class sc.plugin2021.Board
-
- toString() - Method in enum sc.plugin2021.Color
-
- toString() - Method in class sc.plugin2021.Coordinates
-
- toString() - Method in class sc.plugin2021.Field
-
Beschreibt die Farbe eines bestimmten Felds.
- toString() - Method in class sc.plugin2021.Game
-
- toString() - Method in class sc.plugin2021.GameState
-
- toString() - Method in class sc.plugin2021.Move
-
- toString() - Method in class sc.plugin2021.Piece
-
- toString() - Method in enum sc.plugin2021.Rotation
-
- toString() - Method in class sc.plugin2021.SetMove
-
- toString() - Method in class sc.plugin2021.SkipMove
-
- toString() - Method in class sc.plugin2021.Team.ONE
-
- toString() - Method in class sc.plugin2021.Team.TWO
-
- toString() - Method in enum sc.plugin2021.util.MoveMistake
-
- toString() - Method in class sc.plugin2021.Vector
-
- toString() - Method in class sc.protocol.helpers.RequestResult.Error
-
- toString() - Method in class sc.protocol.helpers.RequestResult.Success
-
- toString() - Method in class sc.protocol.requests.AuthenticateRequest
-
Sent by Client to authenticate as administrator. Is not answered if successful.
- toString() - Method in class sc.protocol.requests.CancelRequest
-
Used to cancel game and delete a GameRoom.
- toString() - Method in class sc.protocol.requests.ControlTimeoutRequest
-
Used to change whether a player in a slot can time out.
- toString() - Method in class sc.protocol.requests.FreeReservationRequest
-
Frees a claimed reservation.
- toString() - Method in class sc.protocol.requests.JoinPreparedRoomRequest
-
Used by client to join a room by reservation code.
The code can be received from the administrative client who requested game creation via PrepareGameRequest.
- toString() - Method in class sc.protocol.requests.JoinRoomRequest
-
Send by client to join game by gameType.
Creates a new gameRoom if no open gameRoom of the specified gameType exists.
- toString() - Method in class sc.protocol.requests.ObservationRequest
-
Request of administrative client to observe a gameRoom specified by given roomId.
- toString() - Method in class sc.protocol.requests.PauseGameRequest
-
Request by administrative client to pause or unpause a game specified by given roomId.
- toString() - Method in class sc.protocol.requests.PlayerScoreRequest
-
Request of administrative client to get score for a player (displayName of player).
Only useful if testMode was enabled before game ended.
- toString() - Method in class sc.protocol.requests.PrepareGameRequest
-
Request to prepare a game of gameType with two reserved slots according to slotDescriptors.
- toString() - Method in class sc.protocol.requests.StepRequest
-
Sent by administrative client to send a MoveRequest to the current player. Only works for paused games.
- toString() - Method in class sc.protocol.responses.CloseConnection
-
- toString() - Method in class sc.protocol.responses.GamePausedEvent
-
Indicates that the game has been paused.
- toString() - Method in class sc.protocol.responses.GamePreparedResponse
-
- toString() - Method in class sc.protocol.responses.JoinedRoomResponse
-
Response to client who successfully joined a game.
- toString() - Method in class sc.protocol.responses.LeftGameEvent
-
Indicates that the receiving Player left or was kicked from the game.
- toString() - Method in class sc.protocol.responses.MementoEvent
-
Sent to update the current state and potentially also a new perspective.
- toString() - Method in class sc.protocol.responses.ObservationResponse
-
Sent to client as response to successfully joining a GameRoom as Observer.
- toString() - Method in class sc.protocol.responses.PlayerScoreResponse
-
Response to GetScoreForPlayerRequest.
- toString() - Method in class sc.protocol.responses.ProtocolErrorMessage
-
Response to an erroneous message, including an error message.
- toString() - Method in class sc.protocol.responses.RoomPacket
-
- toString() - Method in class sc.protocol.responses.RoomWasJoinedEvent
-
Sent to all administrative clients after a playerClient joined a game via a JoinRoomRequest.
- toString() - Method in class sc.protocol.responses.TestModeResponse
-
Response to TestModeRequest containing the current status of testMode.
- toString() - Method in class sc.shared.GameResult
-
- toString() - Method in exception sc.shared.InvalidMoveException
-
Wird bei Zügen geworfen, die nicht regelkonform ausgeführt werden können.
- toString(definition) - Method in class sc.shared.PlayerScore
-
- toString() - Method in class sc.shared.PlayerScore
-
- toString() - Method in class sc.shared.ScoreDefinition
-
- toString() - Method in class sc.shared.ScoreFragment
-
- toString() - Method in class sc.shared.ScoreValue
-
- toString() - Method in class sc.shared.SlotDescriptor
-
- toString() - Method in class sc.shared.WelcomeMessage
-
Nachricht, die zu Beginn eines Spiels an einen Client geschickt wird, um ihm seine Spielerfarbe mitzuteilen.
- toString(playerName) - Method in class sc.shared.WinCondition
-
- toString() - Method in class sc.shared.WinCondition
-
- TOTAL_PIECE_SHAPES - Static variable in class sc.plugin2021.util.Constants
-
Anzahl an verschiedenen Spielsteinen.
- transform(rotation, isFlipped) - Method in class sc.plugin2021.Piece
-
Drehe und spiegel den Stein entsprechend den gegebenen Parametern.
- transform(rotation, shouldFlip) - Method in enum sc.plugin2021.PieceShape
-
Transformiert die Form entsprechend.
- turnLeft($this$turnLeft) - Static method in class sc.plugin2021.util.CoordinateHelpersKt
-
Drehe die Koordinaten 90 Grad gegen den Uhrzeigersinn.
- turnRight($this$turnRight) - Static method in class sc.plugin2021.util.CoordinateHelpersKt
-
Drehe die Koordinaten 90 Grad im Uhrzeigersinn.
- TwoPlayerGameState<P extends Player> - Class in sc.api.plugins
-
- TwoPlayerGameState(startTeam) - Constructor for class sc.api.plugins.TwoPlayerGameState
-