- calculateAbsoluteLayout(TileGridPane...) - Method in class de.smarten.tsuro.shared.gui.GuiHelper
-
Calculates and sets the absolute sizes of the padding, gaps, and cells for a given amount of TileGridPanes
- calculateRowCountAndColCountFromSize(TileGridPane) - Method in class de.smarten.tsuro.shared.gui.GuiHelper
-
When only the amount of elements that need to fit into a
TileGridPane
is known,
this method calculates the amount of rows and columns the
TileGridPane
needs to have to maximize the area of each cell,
based on the height and width the TileGridPane can utilize
- Client - Class in de.smarten.tsuro.shared.gamemodel
-
- Client(String, Role) - Constructor for class de.smarten.tsuro.shared.gamemodel.Client
-
A constructor that sets the client Role and the client Name
- close() - Method in class de.smarten.tsuro.shared.network.Connection
-
- ConfigurableTile - Class in de.smarten.tsuro.shared.gamemodel
-
- ConfigurableTile(Path[], Rotation) - Constructor for class de.smarten.tsuro.shared.gamemodel.ConfigurableTile
-
The constructor takes four paths and a rotation
- Configuration - Class in de.smarten.tsuro.shared.gamemodel
-
- Configuration(ArrayList<Integer>, int, int, int, int, int, ArrayList<Position>) - Constructor for class de.smarten.tsuro.shared.gamemodel.Configuration
-
- configurationToEConfiguration(Configuration) - Static method in class de.smarten.tsuro.shared.network.GameModelTranslator
-
Translates a Configuration object into an EMF Configuration object.
- Connection - Class in de.smarten.tsuro.shared.network
-
The ServerToClientConnection
is used to manage a TCP socket.
- Connection() - Constructor for class de.smarten.tsuro.shared.network.Connection
-
default constructor, to be used if the connection is not yet established at instantiation
- Connection(Socket) - Constructor for class de.smarten.tsuro.shared.network.Connection
-
- connectionResetCallback() - Method in interface de.smarten.tsuro.shared.network.client.IClientToServerConnectionCallable
-
Will be called by the ClientToServerConnection when the connection was reset.
- connectionResetCallback() - Method in class de.smarten.tsuro.shared.network.client.ObserverClientToServerConnection
-
- connectionResetCallback() - Method in class de.smarten.tsuro.shared.network.Connection
-
Is called by the InputListener if the connection was reset.
- continueGame() - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
- convertToConfigurableTile(Tile) - Static method in class de.smarten.tsuro.shared.utility.TileTranslator
-
Converts a tile object to the correlating configurable tile object.
- convertToConfigurableTile(int) - Static method in class de.smarten.tsuro.shared.utility.TileTranslator
-
Converts a tileID to the correlating configurable tile object.
- convertToTile(ConfigurableTile) - Static method in class de.smarten.tsuro.shared.utility.TileTranslator
-
Converts a configurable tile object to the correlating tile object.
- convertToTile(int) - Static method in class de.smarten.tsuro.shared.utility.TileTranslator
-
Converts a tileID object to the correlating tile object.
- Game - Class in de.smarten.tsuro.shared.gamemodel
-
- Game(String, int, Configuration) - Constructor for class de.smarten.tsuro.shared.gamemodel.Game
-
Constructor method.
- Game(String, int, Configuration, GameModel) - Constructor for class de.smarten.tsuro.shared.gamemodel.Game
-
- gameContinueNotificationCallback() - Method in interface de.smarten.tsuro.shared.network.client.IClientToServerConnectionCallable
-
Will be called by the ClientToServerConnection when a GameContinueNotification
is received.
- gameListResponseCallback(List<Game>) - Method in interface de.smarten.tsuro.shared.network.client.IClientToServerConnectionCallable
-
Will be called by the ClientToServerConnection when a GameListResponse
is received.
- GameModel - Class in de.smarten.tsuro.shared.gamemodel
-
The GameModel class.
- GameModel() - Constructor for class de.smarten.tsuro.shared.gamemodel.GameModel
-
- gameModel - Variable in class de.smarten.tsuro.shared.network.client.ObserverClientToServerConnection
-
- GameModelObservable - Class in de.smarten.tsuro.shared.gamemodel
-
- GameModelObservable() - Constructor for class de.smarten.tsuro.shared.gamemodel.GameModelObservable
-
- GameModelTranslator - Class in de.smarten.tsuro.shared.network
-
The class
GameModelTranslator
offers static methods to translate a
GameModel
into an EMF-Model and vice versa.
- GameModelTranslator() - Constructor for class de.smarten.tsuro.shared.network.GameModelTranslator
-
- gamePauseNotificationCallback() - Method in interface de.smarten.tsuro.shared.network.client.IClientToServerConnectionCallable
-
Will be called by the ClientToServerConnection when a GamePauseNotification
is received.
- gameStartNotificationCallback() - Method in interface de.smarten.tsuro.shared.network.client.IClientToServerConnectionCallable
-
Will be called by the ClientToServerConnection when a GameStartNotification is
received.
- GameState - Enum in de.smarten.tsuro.shared.gamemodel
-
The GameState
is an enumeration type that defines the current status of a game.
- gameStateToEGameState(GameState) - Static method in class de.smarten.tsuro.shared.network.GameModelTranslator
-
- Gate - Enum in de.smarten.tsuro.shared.gamemodel
-
The Gate
is an enumeration type that defines the connection points on tiles.
- gateToEGate(Gate) - Static method in class de.smarten.tsuro.shared.network.GameModelTranslator
-
- getAbsoluteStrokeSizeOfTiles() - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- getActivePlayer() - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
- getAllTiles() - Static method in class de.smarten.tsuro.shared.utility.TileTranslator
-
- getBlockedPositions() - Method in class de.smarten.tsuro.shared.gamemodel.Configuration
-
Please use getBlockedPositionsIterator
instead.
- getBlockedPositionsIterator() - Method in class de.smarten.tsuro.shared.gamemodel.Configuration
-
- getBlockedPositionsIterator() - Method in interface de.smarten.tsuro.shared.gamemodel.IConfiguration
-
- getBoardLength() - Method in class de.smarten.tsuro.shared.gamemodel.Configuration
-
- getBoardLength() - Method in interface de.smarten.tsuro.shared.gamemodel.IConfiguration
-
returns the length of the board
- getBoardSize() - Method in class de.smarten.tsuro.shared.gamemodel.Configuration
-
- getBoardSize() - Method in interface de.smarten.tsuro.shared.gamemodel.IConfiguration
-
calculates the number of fields on the board (formula: boardLength*boardLength)
- getBorderGatesFromPosition(TileGridPane, Position) - Method in class de.smarten.tsuro.shared.gui.GuiHelper
-
- getCashedEPlayerById(int, GameModel) - Static method in class de.smarten.tsuro.shared.network.GameModelTranslator
-
Returns an EMF Player object from a specific GameModel by Id using the existing
EMF translation of the GameModel.
- getClient() - Method in class de.smarten.tsuro.shared.gamemodel.Player
-
- getClientId() - Method in class de.smarten.tsuro.shared.gamemodel.Client
-
- getClientId() - Method in interface de.smarten.tsuro.shared.gamemodel.IPlayer
-
- getClientId() - Method in class de.smarten.tsuro.shared.gamemodel.Player
-
- getColCount() - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- getColorId() - Method in interface de.smarten.tsuro.shared.gamemodel.IPlayer
-
- getColorId() - Method in class de.smarten.tsuro.shared.gamemodel.Player
-
- getConfig() - Method in class de.smarten.tsuro.shared.gamemodel.Game
-
- getConfig() - Method in interface de.smarten.tsuro.shared.gamemodel.IGame
-
- getConnnectedGate(Gate) - Method in class de.smarten.tsuro.shared.gamemodel.Tile
-
- getCounterpart() - Method in interface de.smarten.tsuro.shared.gamemodel.IPath
-
This method calculates the path going the opposite direction of the given path
- getCounterpart() - Method in class de.smarten.tsuro.shared.gamemodel.Path
-
- getCurrentlySelected() - Method in class de.smarten.tsuro.shared.gui.SingleChoiceButtonList
-
- getCurrentRoundNo() - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
- getCurrentTurnNo() - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
- getDeadFlag() - Method in class de.smarten.tsuro.shared.gamemodel.Path
-
- getDeckSize() - Method in class de.smarten.tsuro.shared.gamemodel.Configuration
-
- getDeckSize() - Method in interface de.smarten.tsuro.shared.gamemodel.IConfiguration
-
calculates the deckSize (formula: (boardSize/2) + 1)
- getEmptyWaypoints() - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- getEmptyWaypointStyleClass() - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- getEObjectClassName(EObject) - Static method in class de.smarten.tsuro.shared.network.GameModelTranslator
-
Returns the simple class name of the object passed cutting of
every suffix starting with '*'.
- getFinishedReason() - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
- getGame() - Method in class de.smarten.tsuro.shared.gamemodel.AGameModel
-
- getGame() - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
- getGameId() - Method in class de.smarten.tsuro.shared.gamemodel.Game
-
- getGameId() - Method in interface de.smarten.tsuro.shared.gamemodel.IGame
-
- getGameModel() - Method in class de.smarten.tsuro.shared.gamemodel.GameModelObservable
-
Returns the GameModel object this GameModelObservable belongs to.
- getGameState() - Method in class de.smarten.tsuro.shared.gamemodel.Game
-
- getGameState() - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
- getGameState() - Method in interface de.smarten.tsuro.shared.gamemodel.IGame
-
- getGate() - Method in interface de.smarten.tsuro.shared.gamemodel.IToken
-
- getGate() - Method in class de.smarten.tsuro.shared.gamemodel.Token
-
- getGateByValue(int) - Static method in enum de.smarten.tsuro.shared.gamemodel.Gate
-
- getIdFromButton(Button) - Method in class de.smarten.tsuro.shared.gui.SingleChoiceButtonList
-
- getIdOfSelected() - Method in class de.smarten.tsuro.shared.gui.SingleChoiceButtonList
-
- getIllegalGates() - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
- getKickState() - Method in interface de.smarten.tsuro.shared.gamemodel.IPlayer
-
- getKickState() - Method in class de.smarten.tsuro.shared.gamemodel.Player
-
- getMinPadding() - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- getName() - Method in class de.smarten.tsuro.shared.gamemodel.Client
-
- getName() - Method in class de.smarten.tsuro.shared.gamemodel.Game
-
- getName() - Method in interface de.smarten.tsuro.shared.gamemodel.IGame
-
- getName() - Method in interface de.smarten.tsuro.shared.gamemodel.IPlayer
-
- getName() - Method in class de.smarten.tsuro.shared.gamemodel.Player
-
- getNetworkAddress() - Method in interface de.smarten.tsuro.shared.network.client.IObserverClientToServerConnection
-
- getNetworkAddress() - Method in class de.smarten.tsuro.shared.network.client.ObserverClientToServerConnection
-
- getNetworkAddress() - Method in class de.smarten.tsuro.shared.network.Connection
-
- getNextTilePos() - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
- getOpposite(Gate) - Static method in enum de.smarten.tsuro.shared.gamemodel.Gate
-
This calculates the Gate at the opposite side of the tile
- getOwner() - Method in class de.smarten.tsuro.shared.gamemodel.Path
-
- getOwner() - Method in class de.smarten.tsuro.shared.gamemodel.Tile
-
- getPadding(GridPane) - Method in class de.smarten.tsuro.shared.gui.GuiHelper
-
returns the vertical (TOP + BOTTOM) and horizontal (LEFT + RIGHT) padding of a given GridPane
- getPaths() - Method in class de.smarten.tsuro.shared.gamemodel.ConfigurableTile
-
Returns the path array of the tile.
- getPaths() - Method in interface de.smarten.tsuro.shared.gamemodel.IConfigurableTile
-
- getPaths() - Method in class de.smarten.tsuro.shared.gamemodel.Tile
-
- getPaused() - Method in class de.smarten.tsuro.shared.utility.Stopwatch
-
- getPlacementByPosition(Position) - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
Returns a placement or null, depending on whether a tile is placed at the position passed
- getPlacementsCount() - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
- getPlacementsIterator() - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
- getPlayer() - Method in class de.smarten.tsuro.shared.gamemodel.Token
-
- getPlayerByClientId(int) - Method in class de.smarten.tsuro.shared.gamemodel.Game
-
returns the player with the client id passed or null, if that player doesn't exist
- getPlayerCount() - Method in class de.smarten.tsuro.shared.gamemodel.Configuration
-
- getPlayerCount() - Method in interface de.smarten.tsuro.shared.gamemodel.IConfiguration
-
- getPlayersIterator() - Method in class de.smarten.tsuro.shared.gamemodel.Game
-
- getPlayersIterator() - Method in interface de.smarten.tsuro.shared.gamemodel.IGame
-
- getPlayerTiles() - Method in class de.smarten.tsuro.shared.gamemodel.Configuration
-
- getPlayerTiles() - Method in interface de.smarten.tsuro.shared.gamemodel.IConfiguration
-
- getPosition() - Method in interface de.smarten.tsuro.shared.gamemodel.IPlacement
-
- getPosition() - Method in interface de.smarten.tsuro.shared.gamemodel.IToken
-
- getPosition() - Method in class de.smarten.tsuro.shared.gamemodel.Placement
-
- getPosition() - Method in class de.smarten.tsuro.shared.gamemodel.Token
-
- getPosition() - Method in class de.smarten.tsuro.shared.gui.TileImageView
-
- getPresentationTime() - Method in class de.smarten.tsuro.shared.gamemodel.Configuration
-
- getPresentationTime() - Method in interface de.smarten.tsuro.shared.gamemodel.IConfiguration
-
- getRelativeGapSizeBetweenTiles() - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- getRelativeStrokeSizeOfTiles() - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- getResourcePath(String) - Method in class de.smarten.tsuro.shared.gui.GuiHelper
-
- getResourceTempFile(String) - Method in class de.smarten.tsuro.shared.gui.ResourceLoader
-
Returns a File object to a system temporary file created from
the resource specified by the path passed
- getResourceTempURI(String) - Method in class de.smarten.tsuro.shared.gui.ResourceLoader
-
Returns the file name of a system temporary file created from
the resource specified by the path passed
- getRole() - Method in class de.smarten.tsuro.shared.gamemodel.Client
-
- getRotation() - Method in class de.smarten.tsuro.shared.gamemodel.ConfigurableTile
-
- getRotation() - Method in interface de.smarten.tsuro.shared.gamemodel.ITile
-
- getRotation() - Method in class de.smarten.tsuro.shared.gamemodel.Tile
-
- getRoundTimeAI() - Method in class de.smarten.tsuro.shared.gamemodel.Configuration
-
- getRoundTimeAI() - Method in interface de.smarten.tsuro.shared.gamemodel.IConfiguration
-
- getRoundTimePlayer() - Method in class de.smarten.tsuro.shared.gamemodel.Configuration
-
- getRoundTimePlayer() - Method in interface de.smarten.tsuro.shared.gamemodel.IConfiguration
-
- getRowCount() - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- getSingleTileImageView(Position) - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- getSize() - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- getTag() - Method in class de.smarten.tsuro.shared.utility.Stopwatch
-
- getTile() - Method in interface de.smarten.tsuro.shared.gamemodel.IPlacement
-
- getTile() - Method in class de.smarten.tsuro.shared.gamemodel.Placement
-
- getTile() - Method in class de.smarten.tsuro.shared.gui.TileImageView
-
- getTileId() - Method in interface de.smarten.tsuro.shared.gamemodel.ITile
-
- getTileId() - Method in class de.smarten.tsuro.shared.gamemodel.Tile
-
- getTileImageViews() - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- getTiles() - Method in class de.smarten.tsuro.shared.gamemodel.Player
-
Please use getTilesIterator instead.
- getTilesIterator() - Method in interface de.smarten.tsuro.shared.gamemodel.IPlayer
-
- getTilesIterator() - Method in class de.smarten.tsuro.shared.gamemodel.Player
-
- getTileSize() - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- getTimeLimit() - Method in class de.smarten.tsuro.shared.utility.Stopwatch
-
- getTimePassed_Game() - Method in class de.smarten.tsuro.shared.gamemodel.TimeTracker
-
- getTimePassed_Turn() - Method in class de.smarten.tsuro.shared.gamemodel.TimeTracker
-
- getTimePassedGame() - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
- getTimePassedTurn() - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
- getTimeRemaining() - Method in class de.smarten.tsuro.shared.utility.Stopwatch
-
returns the time in milliseconds before the time limit is reached.
- getTipA() - Method in interface de.smarten.tsuro.shared.gamemodel.IPath
-
- getTipA() - Method in class de.smarten.tsuro.shared.gamemodel.Path
-
- getTipB() - Method in interface de.smarten.tsuro.shared.gamemodel.IPath
-
- getTipB() - Method in class de.smarten.tsuro.shared.gamemodel.Path
-
- getToken() - Method in interface de.smarten.tsuro.shared.gamemodel.IPlayer
-
- getToken() - Method in class de.smarten.tsuro.shared.gamemodel.Player
-
- getValue() - Method in enum de.smarten.tsuro.shared.gamemodel.Gate
-
- getValue() - Method in enum de.smarten.tsuro.shared.gamemodel.Rotation
-
- getWinnersIterator() - Method in class de.smarten.tsuro.shared.gamemodel.Game
-
Returns an iterator over the players that won the game.
- getX() - Method in interface de.smarten.tsuro.shared.gamemodel.IPosition
-
- getX() - Method in class de.smarten.tsuro.shared.gamemodel.Position
-
- getY() - Method in interface de.smarten.tsuro.shared.gamemodel.IPosition
-
- getY() - Method in class de.smarten.tsuro.shared.gamemodel.Position
-
- GuiHelper - Class in de.smarten.tsuro.shared.gui
-
- GuiHelper() - Constructor for class de.smarten.tsuro.shared.gui.GuiHelper
-
- sendGameJoinRequest(int, String) - Method in interface de.smarten.tsuro.shared.network.client.IObserverClientToServerConnection
-
Sends a GameJoinRequest to the server.
- sendGameJoinRequest(int, String, Role) - Method in interface de.smarten.tsuro.shared.network.client.IPlayerClientToServerConnection
-
Sends a GameJoinRequest to the server.
- sendGameJoinRequest(int, String) - Method in class de.smarten.tsuro.shared.network.client.ObserverClientToServerConnection
-
- sendGameJoinRequest(int, String, Role) - Method in class de.smarten.tsuro.shared.network.client.PlayerClientToServerConnection
-
- sendGameJoinRequestWithRole(int, String, Role) - Method in class de.smarten.tsuro.shared.network.client.ObserverClientToServerConnection
-
Sends a GameJoinRequest to the server.
- sendGameListRequest() - Method in interface de.smarten.tsuro.shared.network.client.IObserverClientToServerConnection
-
Sends a GameListRequest to the server.
- sendGameListRequest() - Method in class de.smarten.tsuro.shared.network.client.ObserverClientToServerConnection
-
- sendObject(EObject) - Method in class de.smarten.tsuro.shared.network.Connection
-
Serializes the given object and sends it via the socket.
- sendSetTileCmd(Tile, Position) - Method in interface de.smarten.tsuro.shared.network.client.IPlayerClientToServerConnection
-
Sends a SetTileCmd to the server.
- sendSetTileCmd(Tile) - Method in interface de.smarten.tsuro.shared.network.client.IPlayerClientToServerConnection
-
Sends a SetTileCmd to the server.
- sendSetTileCmd(Tile, Position) - Method in class de.smarten.tsuro.shared.network.client.PlayerClientToServerConnection
-
- sendSetTileCmd(Tile) - Method in class de.smarten.tsuro.shared.network.client.PlayerClientToServerConnection
-
- sendSetTokenCmd(Gate) - Method in interface de.smarten.tsuro.shared.network.client.IPlayerClientToServerConnection
-
Sends a SetTokenCmd to the server.
- sendSetTokenCmd(Gate) - Method in class de.smarten.tsuro.shared.network.client.PlayerClientToServerConnection
-
- serializeJson(EObject) - Static method in class de.smarten.tsuro.shared.network.JsonHandler
-
Serializes the specified EObject into a JSON String.
- setAbsoluteStrokeSizeOfTiles(double) - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- setActivePlayer(Player) - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
- setClientId(int) - Method in class de.smarten.tsuro.shared.gamemodel.Client
-
Sets the clientId if it is not specified yet and the id given is larger than zero.
- setColCount(int) - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- setColorId(int) - Method in interface de.smarten.tsuro.shared.gamemodel.IPlayer
-
- setColorId(int) - Method in class de.smarten.tsuro.shared.gamemodel.Player
-
- setCssToScene(Scene) - Method in class de.smarten.tsuro.shared.gui.GuiHelper
-
- setCurrentlySelected(Button) - Method in class de.smarten.tsuro.shared.gui.SingleChoiceButtonList
-
- setCurrentRoundNo(int) - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
- setCurrentTurnNo(int) - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
- setDeadFlagTrue() - Method in class de.smarten.tsuro.shared.gamemodel.Path
-
- setEmptyWaypoints(Rectangle[][]) - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- setEmptyWaypointStyleClass(String) - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- setGame(Game) - Method in class de.smarten.tsuro.shared.gamemodel.AGameModel
-
- setGame(Game) - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
- setGameState(GameState) - Method in class de.smarten.tsuro.shared.gamemodel.Game
-
- setGameState(GameState) - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
- setGameState(GameState) - Method in interface de.smarten.tsuro.shared.gamemodel.IGame
-
- setGate(Gate) - Method in interface de.smarten.tsuro.shared.gamemodel.IToken
-
- setGate(Gate) - Method in class de.smarten.tsuro.shared.gamemodel.Token
-
- setKickState(KickState) - Method in interface de.smarten.tsuro.shared.gamemodel.IPlayer
-
- setKickState(KickState) - Method in class de.smarten.tsuro.shared.gamemodel.Player
-
- setMinPadding(double) - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- setOwner(Player) - Method in class de.smarten.tsuro.shared.gamemodel.Path
-
- setPosition(Position) - Method in interface de.smarten.tsuro.shared.gamemodel.IToken
-
- setPosition(Position) - Method in class de.smarten.tsuro.shared.gamemodel.Token
-
- setPosition(Position) - Method in class de.smarten.tsuro.shared.gui.TileImageView
-
- setPosOnCell(Node, TileGridPane, Position, Gate, double, double) - Method in class de.smarten.tsuro.shared.gui.GuiHelper
-
places a node in a certain alignment to a gate in a cell of a given
TileGridPane
- setRelativeGapSizeBetweenTiles(double) - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- setRelativeStrokeSizeOfTiles(double) - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- setRotation(Rotation) - Method in class de.smarten.tsuro.shared.gamemodel.ConfigurableTile
-
- setRotation(Rotation) - Method in interface de.smarten.tsuro.shared.gamemodel.IConfigurableTile
-
- setRotation(Rotation) - Method in interface de.smarten.tsuro.shared.gamemodel.ITile
-
- setRotation(Rotation) - Method in class de.smarten.tsuro.shared.gamemodel.Tile
-
- setRotationOfTileImageView(ImageView, Rotation) - Method in class de.smarten.tsuro.shared.gui.GuiHelper
-
sets the rotation of an ImageView
- setRowCount(int) - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- setSetTokenTurn(Boolean) - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
- setSingleTileImageView(TileImageView, Position) - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
sets a TileImageView element on tileImageViews on a given position
- setSize(int) - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- setSocket(Socket) - Method in class de.smarten.tsuro.shared.network.Connection
-
Takes a socket and sets the inputStream, outputStream, inputReader and dataOutputStream
affiliated to the connection.
- setTile(Tile) - Method in class de.smarten.tsuro.shared.gui.TileImageView
-
- setTileImageViews(TileImageView[][]) - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- setTileList(ArrayList<Tile>) - Method in class de.smarten.tsuro.shared.gamemodel.Player
-
Sets the tileList of this player.
- setTileSize(double) - Method in class de.smarten.tsuro.shared.gui.TileGridPane
-
- setTimeLimit(long) - Method in class de.smarten.tsuro.shared.utility.Stopwatch
-
- setTips(Gate, Gate) - Method in interface de.smarten.tsuro.shared.gamemodel.IPath
-
This method reroutes both tips of a tile to new gates on the tile.
- setTips(Gate, Gate) - Method in class de.smarten.tsuro.shared.gamemodel.Path
-
- setX(int) - Method in interface de.smarten.tsuro.shared.gamemodel.IPosition
-
- setX(int) - Method in class de.smarten.tsuro.shared.gamemodel.Position
-
- setY(int) - Method in interface de.smarten.tsuro.shared.gamemodel.IPosition
-
- setY(int) - Method in class de.smarten.tsuro.shared.gamemodel.Position
-
- SingleChoiceButtonList - Class in de.smarten.tsuro.shared.gui
-
- SingleChoiceButtonList() - Constructor for class de.smarten.tsuro.shared.gui.SingleChoiceButtonList
-
- start() - Method in class de.smarten.tsuro.shared.utility.Stopwatch
-
(Re)start the watch.
- startGame() - Method in class de.smarten.tsuro.shared.gamemodel.GameModel
-
- startGame() - Method in class de.smarten.tsuro.shared.gamemodel.TimeTracker
-
- startGame(GameModel) - Method in interface de.smarten.tsuro.shared.network.client.IClientToServerConnectionCallable
-
Will be called by the ClientToServerConnection when the first GameStateNotification
is received.
- startTurn() - Method in class de.smarten.tsuro.shared.gamemodel.TimeTracker
-
- stop(boolean) - Method in class de.smarten.tsuro.shared.utility.Stopwatch
-
Stop the watch.
- Stopwatch - Class in de.smarten.tsuro.shared.utility
-
A utility class to keep track of the passed time.
- Stopwatch(long, long, String, boolean) - Constructor for class de.smarten.tsuro.shared.utility.Stopwatch
-
Notifies the observers only once the time is up.
- Stopwatch(long, long, String, boolean, long) - Constructor for class de.smarten.tsuro.shared.utility.Stopwatch
-
Notifies the observers in regular intervals
- Stopwatch(long, long, String, boolean, ArrayList<Long>) - Constructor for class de.smarten.tsuro.shared.utility.Stopwatch
-
Notifies the observers when the time is up or if times defined in notifyTimes are reached.
- Stopwatch(long, long, String, boolean, HashSet<Long>) - Constructor for class de.smarten.tsuro.shared.utility.Stopwatch
-
Notifies the observers when the time is up or if times defined in notifyTimes are reached.
- Tile - Class in de.smarten.tsuro.shared.gamemodel
-
A tile object saves the tileID, a rotation, the owner and the correlating configurable tile.
- Tile(int, Rotation) - Constructor for class de.smarten.tsuro.shared.gamemodel.Tile
-
- Tile(int, Rotation, ConfigurableTile) - Constructor for class de.smarten.tsuro.shared.gamemodel.Tile
-
- TileGridPane - Class in de.smarten.tsuro.shared.gui
-
- TileGridPane(AnchorPane, int, int, int, double, double, String, double) - Constructor for class de.smarten.tsuro.shared.gui.TileGridPane
-
makes a new TileGridPane.
- TileGridPane(AnchorPane, int, double, double, String, double) - Constructor for class de.smarten.tsuro.shared.gui.TileGridPane
-
makes a new TileGridPane.
- TileImageView - Class in de.smarten.tsuro.shared.gui
-
- TileImageView() - Constructor for class de.smarten.tsuro.shared.gui.TileImageView
-
- tileToETile(Tile) - Static method in class de.smarten.tsuro.shared.network.GameModelTranslator
-
Translates a GameModel Tile object into an EMF Tile object, ignoring it's rotation
- TileTranslator - Class in de.smarten.tsuro.shared.utility
-
This static class contains all possible Tsuro tiles.
- TimeTracker - Class in de.smarten.tsuro.shared.gamemodel
-
A utility class for keeping track of the gameTime
- TimeTracker() - Constructor for class de.smarten.tsuro.shared.gamemodel.TimeTracker
-
- Token - Class in de.smarten.tsuro.shared.gamemodel
-
- Token() - Constructor for class de.smarten.tsuro.shared.gamemodel.Token
-
This constructor creates a token with both position and gate being set to null.
- Token(Gate, Position) - Constructor for class de.smarten.tsuro.shared.gamemodel.Token
-
This constructor creates a token.
- Token(Gate, Position, GameModel) - Constructor for class de.smarten.tsuro.shared.gamemodel.Token
-
- tokenToEToken(Token) - Static method in class de.smarten.tsuro.shared.network.GameModelTranslator
-
Translates a GameModel Token object into an EMF Token object.
- toString() - Method in class de.smarten.tsuro.shared.gamemodel.Client
-
- toString() - Method in class de.smarten.tsuro.shared.gamemodel.ConfigurableTile
-
- toString() - Method in class de.smarten.tsuro.shared.gamemodel.Path
-
- translated(int, int, int) - Method in class de.smarten.tsuro.shared.gamemodel.Position
-
- translateIntoGameList(EList<Game>) - Static method in class de.smarten.tsuro.shared.network.GameModelTranslator
-
Translates an EList of EMF Game objects into a List of GameModel Game objects.
- translateIntoGameModel(GameStateNotification) - Static method in class de.smarten.tsuro.shared.network.GameModelTranslator
-
Generates a new GameModel from a given GameStateNotification.
- translateIntoGameStateNotification(GameModel) - Static method in class de.smarten.tsuro.shared.network.GameModelTranslator
-
Outputs a GameStateNotification containing the information of the gameModel passed.
- turnBy90DegreesClockwise() - Method in class de.smarten.tsuro.shared.gamemodel.ConfigurableTile
-
Turns the entire tile 90 degrees clockwise
- turnNotificationCallback(boolean) - Method in interface de.smarten.tsuro.shared.network.client.IClientToServerConnectionCallable
-
Will be called by the ClientToServerConnection when a TurnNotification
is received.
- valueOf(String) - Static method in enum de.smarten.tsuro.shared.gamemodel.FinishedReason
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.smarten.tsuro.shared.gamemodel.GameState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.smarten.tsuro.shared.gamemodel.Gate
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.smarten.tsuro.shared.gamemodel.JoinResponse
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.smarten.tsuro.shared.gamemodel.KickState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.smarten.tsuro.shared.gamemodel.Role
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.smarten.tsuro.shared.gamemodel.Rotation
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum de.smarten.tsuro.shared.gamemodel.FinishedReason
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum de.smarten.tsuro.shared.gamemodel.GameState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum de.smarten.tsuro.shared.gamemodel.Gate
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum de.smarten.tsuro.shared.gamemodel.JoinResponse
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum de.smarten.tsuro.shared.gamemodel.KickState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum de.smarten.tsuro.shared.gamemodel.Role
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum de.smarten.tsuro.shared.gamemodel.Rotation
-
Returns an array containing the constants of this enum type, in
the order they are declared.