Show winnable in X status
This commit is contained in:
parent
a4a91e09f9
commit
d68b2ecbcb
|
@ -111,10 +111,17 @@ Rectangle {
|
||||||
}
|
}
|
||||||
|
|
||||||
ScoreItem {
|
ScoreItem {
|
||||||
visible: GameState.gameWon === false && GameState.preliminaryWin === false && GameState.isWinnable.winnable !== false
|
visible: GameState.gameWon === false && GameState.preliminaryWin === false && GameState.isWinnable.winnable === undefined
|
||||||
title: "PLAYING"
|
title: "PLAYING"
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ScoreItem {
|
||||||
|
visible: GameState.gameWon === false && GameState.preliminaryWin === false && GameState.isWinnable.winnable === true
|
||||||
|
title: "WINNABLE IN " + GameState.isWinnable.depth
|
||||||
|
titleColor: "blue"
|
||||||
|
anchors.fill: parent
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
component ScoreItem: Column {
|
component ScoreItem: Column {
|
||||||
|
|
Loading…
Reference in a new issue