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 |
Modifier and Type | Method and Description |
---|---|
Rotation |
Tile.getRotation() |
Rotation |
ConfigurableTile.getRotation() |
Rotation |
ITile.getRotation() |
static Rotation |
Rotation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rotation[] |
Rotation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Tile.setRotation(Rotation rotation) |
void |
ConfigurableTile.setRotation(Rotation newDirection) |
void |
ITile.setRotation(Rotation rotation) |
void |
IConfigurableTile.setRotation(Rotation newDirection) |
Constructor and Description |
---|
ConfigurableTile(Path[] paths,
Rotation rotation)
The constructor takes four paths and a rotation
|
Tile(int tileId,
Rotation rotation) |
Tile(int tileId,
Rotation rotation,
ConfigurableTile ct) |
Modifier and Type | Method and Description |
---|---|
TileImageView |
GuiHelper.addTile(int position,
int tileId,
Rotation rotation,
TileGridPane tileGridPane)
adds a TileImageView to a position on a given pane.
|
TileImageView |
GuiHelper.addTile(Position position,
int tileId,
Rotation rotation,
TileGridPane tileGridPane)
adds a TileImageView to a position on a given pane.
|
void |
GuiHelper.setRotationOfTileImageView(javafx.scene.image.ImageView tileImageView,
Rotation rotation)
sets the rotation of an ImageView
|
Modifier and Type | Method and Description |
---|---|
static Rotation |
GameModelTranslator.eRotationToRotation(de.upb.swt.swtpra2017.swtinterface.Rotation eRotation) |
Modifier and Type | Method and Description |
---|---|
static de.upb.swt.swtpra2017.swtinterface.Rotation |
GameModelTranslator.rotationToERotation(Rotation rotation) |
Copyright © 2017 smarTen. All rights reserved.