From bddd226ffd22de429d90c00071fe4b6d6f14fee3 Mon Sep 17 00:00:00 2001 From: Jakob Haag Date: Sat, 30 May 2020 14:46:42 +0200 Subject: [PATCH] Remove TimeComponent and set TimerLabel in the HUD. Reset Timer via RoundTimer --- GoldWars/GoldWars.xcodeproj/project.pbxproj | 1 - GoldWars/GoldWars/Entities/EntityManager.swift | 1 - 2 files changed, 2 deletions(-) diff --git a/GoldWars/GoldWars.xcodeproj/project.pbxproj b/GoldWars/GoldWars.xcodeproj/project.pbxproj index 4894f3b..38ce07b 100644 --- a/GoldWars/GoldWars.xcodeproj/project.pbxproj +++ b/GoldWars/GoldWars.xcodeproj/project.pbxproj @@ -410,7 +410,6 @@ 8BB6FF402472B8F000162BBD /* SingeClickButtonNode.swift in Sources */, C064E9A8246C0EA50022B228 /* LabelNode.swift in Sources */, 3F745DF0246F48FC00CE7375 /* PlayerMoveType.swift in Sources */, - AB1D75A0245DEC0500671525 /* MapFactory.swift in Sources */, 3EAD889524801B6A0048A10A /* RoundTimer.swift in Sources */, 3E67854024728368007B9DE4 /* CElements.swift in Sources */, ABA03DA0244BD54F00A66916 /* Base.swift in Sources */, diff --git a/GoldWars/GoldWars/Entities/EntityManager.swift b/GoldWars/GoldWars/Entities/EntityManager.swift index 8b95144..b115459 100644 --- a/GoldWars/GoldWars/Entities/EntityManager.swift +++ b/GoldWars/GoldWars/Entities/EntityManager.swift @@ -51,7 +51,6 @@ class EntityManager { scene.addChild(hudEntitiy.atkSkill) scene.addChild(hudEntitiy.spySkill) scene.addChild(hudEntitiy.roundTimerLabel) - isModal = true } if let spriteNode = entity.component(ofType: DefaultBaseComponent.self) {