Package | Description |
---|---|
de.smarten.tsuro.shared.gamemodel |
The GameModel package is used by every other component of our software.
|
de.smarten.tsuro.shared.gui | |
de.smarten.tsuro.shared.network | |
de.smarten.tsuro.shared.network.client |
This package contains classes and interfaces for ClientToServerConnections.
|
de.smarten.tsuro.shared.utility |
Modifier and Type | Method and Description |
---|---|
Tile |
Placement.getTile() |
Modifier and Type | Method and Description |
---|---|
ArrayList<Tile> |
Player.getTiles()
Please use getTilesIterator instead.
|
Iterator<Tile> |
IPlayer.getTilesIterator() |
Iterator<Tile> |
Player.getTilesIterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
Player.hasOnHand(Tile tile)
Tells whether the tile passed is owned by this player and currently in the player's tile list.
|
void |
Player.removeTile(Tile tile)
Removes a Tile object from the players tile list and notifies the GameModel, passing this tile.
|
Modifier and Type | Method and Description |
---|---|
void |
Player.setTileList(ArrayList<Tile> tileList)
Sets the tileList of this player.
|
Constructor and Description |
---|
Placement(Tile tile,
Position position) |
Modifier and Type | Method and Description |
---|---|
Tile |
TileImageView.getTile() |
Modifier and Type | Method and Description |
---|---|
TileImageView |
GuiHelper.addTile(int position,
Tile tile,
TileGridPane tileGridPane)
adds a TileImageView to a position on a given pane.
|
TileImageView |
GuiHelper.addTile(Position position,
Tile tile,
TileGridPane tileGridPane)
adds a tile to a position on a given pane.
|
TileImageView |
TileGridPane.findTileImageViewByTile(Tile tile)
finds a TileImageView by a given Tile object
|
void |
TileImageView.setTile(Tile tile) |
Modifier and Type | Method and Description |
---|---|
static Tile |
GameModelTranslator.eTileToTile(de.upb.swt.swtpra2017.swtinterface.Tile eTile)
Translates an EMF Tile object into a GameModel Tile object, setting it's rotation to NORTH
|
Modifier and Type | Method and Description |
---|---|
static de.upb.swt.swtpra2017.swtinterface.Tile |
GameModelTranslator.tileToETile(Tile tile)
Translates a GameModel Tile object into an EMF Tile object, ignoring it's rotation
|
Modifier and Type | Method and Description |
---|---|
void |
PlayerClientToServerConnection.sendSetTileCmd(Tile tile) |
void |
IPlayerClientToServerConnection.sendSetTileCmd(Tile tile)
Sends a SetTileCmd to the server.
|
void |
PlayerClientToServerConnection.sendSetTileCmd(Tile tile,
Position position) |
void |
IPlayerClientToServerConnection.sendSetTileCmd(Tile tile,
Position position)
Sends a SetTileCmd to the server.
|
Modifier and Type | Method and Description |
---|---|
static Tile |
TileTranslator.convertToTile(ConfigurableTile configurableTile)
Converts a configurable tile object to the correlating tile object.
|
static Tile |
TileTranslator.convertToTile(int tileId)
Converts a tileID object to the correlating tile object.
|
Modifier and Type | Method and Description |
---|---|
static HashMap<Tile,ConfigurableTile> |
TileTranslator.getAllTiles() |
Modifier and Type | Method and Description |
---|---|
static ConfigurableTile |
TileTranslator.convertToConfigurableTile(Tile tile)
Converts a tile object to the correlating configurable tile object.
|
Copyright © 2017 smarTen. All rights reserved.