From c5867f12e3e99bb12646f11b46f28a16d97f4534 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chauntalle=20Schu=CC=88le?= Date: Tue, 2 Jun 2020 15:31:03 +0200 Subject: [PATCH] removed unnecessary file --- GoldWars/GoldWars.xcodeproj/project.pbxproj | 4 ---- GoldWars/GoldWars/States/StateManager.swift | 7 +++++++ GoldWars/GoldWars/States/StateTypes.swift | 14 -------------- 3 files changed, 7 insertions(+), 18 deletions(-) delete mode 100644 GoldWars/GoldWars/States/StateTypes.swift diff --git a/GoldWars/GoldWars.xcodeproj/project.pbxproj b/GoldWars/GoldWars.xcodeproj/project.pbxproj index 898bd81..c01ff0e 100644 --- a/GoldWars/GoldWars.xcodeproj/project.pbxproj +++ b/GoldWars/GoldWars.xcodeproj/project.pbxproj @@ -46,7 +46,6 @@ AB21D7D5246C748A00B09CBA /* MapFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB21D7D4246C748A00B09CBA /* MapFactory.swift */; }; ABA03DA0244BD54F00A66916 /* Base.swift in Sources */ = {isa = PBXBuildFile; fileRef = ABA03D9F244BD54F00A66916 /* Base.swift */; }; ABC0C3732481509300387B8F /* MapUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = ABC0C3722481509300387B8F /* MapUtils.swift */; }; - AE6BB1C0248030720063ECAE /* StateTypes.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE6BB1BF248030720063ECAE /* StateTypes.swift */; }; AE6BB1C224807AC00063ECAE /* StateManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE6BB1C124807AC00063ECAE /* StateManager.swift */; }; AE6BB1C424807C490063ECAE /* MenuState.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE6BB1C324807C490063ECAE /* MenuState.swift */; }; AE6BB1C624807CDA0063ECAE /* SyncingState.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE6BB1C524807CDA0063ECAE /* SyncingState.swift */; }; @@ -117,7 +116,6 @@ AB21D7D4246C748A00B09CBA /* MapFactory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MapFactory.swift; sourceTree = ""; }; ABA03D9F244BD54F00A66916 /* Base.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Base.swift; sourceTree = ""; }; ABC0C3722481509300387B8F /* MapUtils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MapUtils.swift; sourceTree = ""; }; - AE6BB1BF248030720063ECAE /* StateTypes.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StateTypes.swift; sourceTree = ""; }; AE6BB1C124807AC00063ECAE /* StateManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StateManager.swift; sourceTree = ""; }; AE6BB1C324807C490063ECAE /* MenuState.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MenuState.swift; sourceTree = ""; }; AE6BB1C524807CDA0063ECAE /* SyncingState.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SyncingState.swift; sourceTree = ""; }; @@ -308,7 +306,6 @@ AE6BB1CB2481941D0063ECAE /* States */ = { isa = PBXGroup; children = ( - AE6BB1BF248030720063ECAE /* StateTypes.swift */, AE6BB1C124807AC00063ECAE /* StateManager.swift */, AE6BB1C324807C490063ECAE /* MenuState.swift */, AE6BB1C924807FDB0063ECAE /* EndGameState.swift */, @@ -438,7 +435,6 @@ 9E174C88245DF1FF00209FF0 /* BackgroundComponent.swift in Sources */, 9E78ACBA245CBDAF00526FF7 /* HUD.swift in Sources */, 9EC2FBA72476B1EC00ABF11F /* PlayerInfoComponent.swift in Sources */, - AE6BB1C0248030720063ECAE /* StateTypes.swift in Sources */, AE6BB1C624807CDA0063ECAE /* SyncingState.swift in Sources */, 9EEDE02D246FCD770096C735 /* SpinningLogoEntity.swift in Sources */, AE6BB1C224807AC00063ECAE /* StateManager.swift in Sources */, diff --git a/GoldWars/GoldWars/States/StateManager.swift b/GoldWars/GoldWars/States/StateManager.swift index 7065981..c505e9d 100644 --- a/GoldWars/GoldWars/States/StateManager.swift +++ b/GoldWars/GoldWars/States/StateManager.swift @@ -9,6 +9,13 @@ import GameKit import os +enum StateTypes { + case menuSt + case syncingSt + case gameSt + case endGameSt +} + class StateManager{ static let sharedInstance = StateManager() diff --git a/GoldWars/GoldWars/States/StateTypes.swift b/GoldWars/GoldWars/States/StateTypes.swift deleted file mode 100644 index 9fb8886..0000000 --- a/GoldWars/GoldWars/States/StateTypes.swift +++ /dev/null @@ -1,14 +0,0 @@ -// -// States.swift -// GoldWars -// -// Created by Chauntalle Schüle on 28.05.20. -// Copyright © 2020 SP2. All rights reserved. -// - -enum StateTypes { - case menuSt - case syncingSt - case gameSt - case endGameSt -}