Package | Description |
---|---|
de.smarten.tsuro.shared.gamemodel |
The GameModel package is used by every other component of our software.
|
de.smarten.tsuro.shared.network |
Modifier and Type | Method and Description |
---|---|
Placement |
GameModel.getPlacementByPosition(Position position)
Returns a placement or null, depending on whether a tile is placed at the position passed
|
Modifier and Type | Method and Description |
---|---|
Iterator<Placement> |
GameModel.getPlacementsIterator() |
Modifier and Type | Method and Description |
---|---|
void |
GameModel.addPlacement(Placement placement) |
Modifier and Type | Method and Description |
---|---|
static Placement |
GameModelTranslator.ePlacementToPlacement(de.upb.swt.swtpra2017.swtinterface.Placement ePlacement)
Translates an EMF Placement object into a GameModel Placement object.
|
static Placement |
GameModelTranslator.ePlacementToPlacement(de.upb.swt.swtpra2017.swtinterface.Placement ePlacement,
Player player)
Translates an EMF Placement object into a GameModel Placement object using
a Tile object of the player passed and removing it from that player's hand.
|
Modifier and Type | Method and Description |
---|---|
static de.upb.swt.swtpra2017.swtinterface.Placement |
GameModelTranslator.placementToEPlacement(Placement placement)
Translates a GameModel Placement object into an EMF Placement object.
|
Copyright © 2017 smarTen. All rights reserved.