Resize Button, adjust position and change text
This commit is contained in:
parent
42f4537dc6
commit
2ba541e369
@ -69,12 +69,14 @@ class HUD: GKEntity {
|
||||
|
||||
finishButton = SingeClickButtonNode(
|
||||
textureName: "yellow_button04",
|
||||
text: "Finish Round",
|
||||
text: "Done",
|
||||
isEnabled: true,
|
||||
position: CGPoint(x: EntityManager.gameEMInstance.scene.size.width * 0.15, y: EntityManager.gameEMInstance.scene.size.height * 0.1),
|
||||
position: CGPoint(
|
||||
x: EntityManager.gameEMInstance.scene.size.width * 0.1,
|
||||
y: EntityManager.gameEMInstance.scene.size.height * 0.1),
|
||||
onButtonPress: { }
|
||||
)
|
||||
finishButton.size = CGSize(width: 250, height: 40)
|
||||
finishButton.size = CGSize(width: 80, height: 40)
|
||||
finishButton.zPosition = 4
|
||||
super.init()
|
||||
|
||||
|
@ -41,7 +41,6 @@ class RoundTimer: Timer {
|
||||
MultiplayerNetwork.sharedInstance.sendPlayerMoves(localRoundData: DataService.sharedInstance.localRoundData)
|
||||
}
|
||||
calculate = true
|
||||
print("send Player Moves")
|
||||
}
|
||||
if timeLeft <= 0 {
|
||||
if calculate
|
||||
|
Loading…
Reference in New Issue
Block a user