summaryrefslogtreecommitdiff
path: root/game-engine/src/main
diff options
context:
space:
mode:
authorjbion <joffrey.bion@amadeus.com>2019-02-24 01:50:26 +0100
committerjbion <joffrey.bion@amadeus.com>2019-02-24 01:50:26 +0100
commit3c8b01f3ab690362268aace634e574c1a7b63888 (patch)
treea8c955ebd9b1f5290422c725f68f50e7067d0e09 /game-engine/src/main
parentImprove GameScene by showing the hand (diff)
downloadseven-wonders-3c8b01f3ab690362268aace634e574c1a7b63888.tar.gz
seven-wonders-3c8b01f3ab690362268aace634e574c1a7b63888.tar.bz2
seven-wonders-3c8b01f3ab690362268aace634e574c1a7b63888.zip
Add prepare move actions
Diffstat (limited to 'game-engine/src/main')
-rw-r--r--game-engine/src/main/kotlin/org/luxons/sevenwonders/game/api/PlayerTurnInfo.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/game-engine/src/main/kotlin/org/luxons/sevenwonders/game/api/PlayerTurnInfo.kt b/game-engine/src/main/kotlin/org/luxons/sevenwonders/game/api/PlayerTurnInfo.kt
index e80cdefd..9eccf935 100644
--- a/game-engine/src/main/kotlin/org/luxons/sevenwonders/game/api/PlayerTurnInfo.kt
+++ b/game-engine/src/main/kotlin/org/luxons/sevenwonders/game/api/PlayerTurnInfo.kt
@@ -1,5 +1,7 @@
package org.luxons.sevenwonders.game.api
+import org.luxons.sevenwonders.game.wonders.WonderBuildability
+
enum class Action(val message: String) {
PLAY("Pick the card you want to play or discard."),
PLAY_2("Pick the first card you want to play or discard. Note that you have the ability to play these 2 last cards. You will choose how to play the last one during your next turn."),
@@ -17,4 +19,5 @@ data class PlayerTurnInfo internal constructor(
) {
val currentAge: Int = table.currentAge
val message: String = action.message
+ val wonderBuildability: WonderBuildability = table.boards[playerIndex].wonder.buildability
}
bgstack15