found right trigger for syncingSt and gameSt after finishing a Round
This commit is contained in:
parent
079ae4a6f6
commit
35ff2208fb
@ -32,6 +32,9 @@ class RoundCalculatorService {
|
||||
roundNr += 1
|
||||
print("roundNR \(roundNr)")
|
||||
|
||||
print("entered syncingSt in calculateRound")
|
||||
StateManager.sharedInstance.changeState(wantedState: .syncingSt)
|
||||
|
||||
os_log("Started calculating Round", log: RoundCalculatorService.LOG, type: .info)
|
||||
isCalculating = true
|
||||
let currentSnapshotModel = DataService.sharedInstance.snapshotModel
|
||||
@ -174,6 +177,8 @@ class RoundCalculatorService {
|
||||
entityManager.updateSnapshotModel(snapshotModel: currentSnapshotModel!)
|
||||
entityManager.getHUD()?.startWithDuration()
|
||||
os_log("Finished calculating Round", log: RoundCalculatorService.LOG, type: .info)
|
||||
print("entered gameSt in calculateRound")
|
||||
StateManager.sharedInstance.changeState(wantedState: .gameSt)
|
||||
}
|
||||
|
||||
func collectBaseSpecificMoves() -> [Int: [String: [PlayerMove]]] {
|
||||
|
Loading…
Reference in New Issue
Block a user