From e82d0a57f82bd93bb4ebe2d120c2d6d4414c5ec3 Mon Sep 17 00:00:00 2001 From: Aldin Duraki <62dual1bif@hft-stuttgart.de> Date: Sat, 18 Apr 2020 18:13:20 +0200 Subject: [PATCH] Impl Menu Scene * added temporary buttons assets --- GoldWars/GoldWars.xcodeproj/project.pbxproj | 32 +++++++++++++--- .../UITexture.spriteatlas/Contents.json | 6 +++ .../Contents.json | 21 ++++++++++ .../yellow_boxCheckmark.png | Bin 0 -> 768 bytes .../yellow_boxCross.imageset/Contents.json | 21 ++++++++++ .../yellow_boxCross.png | Bin 0 -> 712 bytes .../yellow_boxTick.imageset/Contents.json | 21 ++++++++++ .../yellow_boxTick.png | Bin 0 -> 963 bytes .../yellow_button00.imageset/Contents.json | 21 ++++++++++ .../yellow_button00.png | Bin 0 -> 491 bytes .../yellow_button01.imageset/Contents.json | 21 ++++++++++ .../yellow_button01.png | Bin 0 -> 432 bytes .../yellow_button02.imageset/Contents.json | 21 ++++++++++ .../yellow_button02.png | Bin 0 -> 522 bytes .../yellow_button03.imageset/Contents.json | 21 ++++++++++ .../yellow_button03.png | Bin 0 -> 458 bytes .../yellow_button04.imageset/Contents.json | 21 ++++++++++ .../yellow_button04.png | Bin 0 -> 640 bytes .../yellow_button05.imageset/Contents.json | 21 ++++++++++ .../yellow_button05.png | Bin 0 -> 557 bytes .../yellow_button06.imageset/Contents.json | 21 ++++++++++ .../yellow_button06.png | Bin 0 -> 437 bytes .../yellow_button07.imageset/Contents.json | 21 ++++++++++ .../yellow_button07.png | Bin 0 -> 426 bytes .../yellow_button08.imageset/Contents.json | 21 ++++++++++ .../yellow_button08.png | Bin 0 -> 369 bytes .../yellow_button09.imageset/Contents.json | 21 ++++++++++ .../yellow_button09.png | Bin 0 -> 452 bytes .../yellow_button10.imageset/Contents.json | 21 ++++++++++ .../yellow_button10.png | Bin 0 -> 395 bytes .../yellow_button11.imageset/Contents.json | 21 ++++++++++ .../yellow_button11.png | Bin 0 -> 563 bytes .../yellow_button12.imageset/Contents.json | 21 ++++++++++ .../yellow_button12.png | Bin 0 -> 500 bytes .../yellow_button13.imageset/Contents.json | 21 ++++++++++ .../yellow_button13.png | Bin 0 -> 510 bytes .../yellow_checkmark.imageset/Contents.json | 21 ++++++++++ .../yellow_checkmark.png | Bin 0 -> 358 bytes .../yellow_circle.imageset/Contents.json | 21 ++++++++++ .../yellow_circle.imageset/yellow_circle.png | Bin 0 -> 870 bytes .../yellow_cross.imageset/Contents.json | 21 ++++++++++ .../yellow_cross.imageset/yellow_cross.png | Bin 0 -> 290 bytes .../yellow_panel.imageset/Contents.json | 21 ++++++++++ .../yellow_panel.imageset/yellow_panel.png | Bin 0 -> 612 bytes .../yellow_sliderDown.imageset/Contents.json | 21 ++++++++++ .../yellow_sliderDown.png | Bin 0 -> 434 bytes .../yellow_sliderLeft.imageset/Contents.json | 21 ++++++++++ .../yellow_sliderLeft.png | Bin 0 -> 507 bytes .../yellow_sliderRight.imageset/Contents.json | 21 ++++++++++ .../yellow_sliderRight.png | Bin 0 -> 498 bytes .../yellow_sliderUp.imageset/Contents.json | 21 ++++++++++ .../yellow_sliderUp.png | Bin 0 -> 427 bytes .../yellow_tick.imageset/Contents.json | 21 ++++++++++ .../yellow_tick.imageset/yellow_tick.png | Bin 0 -> 293 bytes GoldWars/GoldWars/{ => Game}/GameScene.sks | Bin GoldWars/GoldWars/{ => Game}/GameScene.swift | 0 GoldWars/GoldWars/GameViewController.swift | 32 ++++------------ GoldWars/GoldWars/Menu/MenuScene.sks | Bin 0 -> 8261 bytes GoldWars/GoldWars/Menu/MenuScene.swift | 36 ++++++++++++++++++ 59 files changed, 622 insertions(+), 30 deletions(-) create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_boxCheckmark.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_boxCheckmark.imageset/yellow_boxCheckmark.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_boxCross.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_boxCross.imageset/yellow_boxCross.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_boxTick.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_boxTick.imageset/yellow_boxTick.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button00.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button00.imageset/yellow_button00.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button01.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button01.imageset/yellow_button01.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button02.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button02.imageset/yellow_button02.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button03.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button03.imageset/yellow_button03.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button04.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button04.imageset/yellow_button04.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button05.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button05.imageset/yellow_button05.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button06.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button06.imageset/yellow_button06.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button07.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button07.imageset/yellow_button07.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button08.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button08.imageset/yellow_button08.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button09.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button09.imageset/yellow_button09.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button10.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button10.imageset/yellow_button10.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button11.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button11.imageset/yellow_button11.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button12.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button12.imageset/yellow_button12.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button13.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button13.imageset/yellow_button13.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_checkmark.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_checkmark.imageset/yellow_checkmark.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_circle.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_circle.imageset/yellow_circle.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_cross.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_cross.imageset/yellow_cross.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_panel.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_panel.imageset/yellow_panel.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderDown.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderDown.imageset/yellow_sliderDown.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderLeft.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderLeft.imageset/yellow_sliderLeft.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderRight.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderRight.imageset/yellow_sliderRight.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderUp.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderUp.imageset/yellow_sliderUp.png create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_tick.imageset/Contents.json create mode 100644 GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_tick.imageset/yellow_tick.png rename GoldWars/GoldWars/{ => Game}/GameScene.sks (100%) rename GoldWars/GoldWars/{ => Game}/GameScene.swift (100%) create mode 100644 GoldWars/GoldWars/Menu/MenuScene.sks create mode 100644 GoldWars/GoldWars/Menu/MenuScene.swift diff --git a/GoldWars/GoldWars.xcodeproj/project.pbxproj b/GoldWars/GoldWars.xcodeproj/project.pbxproj index 226fabe..14ad1f2 100644 --- a/GoldWars/GoldWars.xcodeproj/project.pbxproj +++ b/GoldWars/GoldWars.xcodeproj/project.pbxproj @@ -9,7 +9,6 @@ /* Begin PBXBuildFile section */ 110360D3244B101A008610AF /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 110360D2244B101A008610AF /* AppDelegate.swift */; }; 110360D5244B101A008610AF /* GameScene.sks in Resources */ = {isa = PBXBuildFile; fileRef = 110360D4244B101A008610AF /* GameScene.sks */; }; - 110360D7244B101A008610AF /* Actions.sks in Resources */ = {isa = PBXBuildFile; fileRef = 110360D6244B101A008610AF /* Actions.sks */; }; 110360D9244B101A008610AF /* GameScene.swift in Sources */ = {isa = PBXBuildFile; fileRef = 110360D8244B101A008610AF /* GameScene.swift */; }; 110360DB244B101A008610AF /* GameViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 110360DA244B101A008610AF /* GameViewController.swift */; }; 110360DE244B101A008610AF /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 110360DC244B101A008610AF /* Main.storyboard */; }; @@ -17,6 +16,8 @@ 110360E3244B101B008610AF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 110360E1244B101B008610AF /* LaunchScreen.storyboard */; }; 110360EE244B101B008610AF /* GoldWarsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 110360ED244B101B008610AF /* GoldWarsTests.swift */; }; 110360F9244B101B008610AF /* GoldWarsUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 110360F8244B101B008610AF /* GoldWarsUITests.swift */; }; + 11036111244B3D6A008610AF /* MenuScene.sks in Resources */ = {isa = PBXBuildFile; fileRef = 11036110244B3D6A008610AF /* MenuScene.sks */; }; + 11036113244B3E30008610AF /* MenuScene.swift in Sources */ = {isa = PBXBuildFile; fileRef = 11036112244B3E30008610AF /* MenuScene.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -40,7 +41,6 @@ 110360CF244B101A008610AF /* GoldWars.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GoldWars.app; sourceTree = BUILT_PRODUCTS_DIR; }; 110360D2244B101A008610AF /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 110360D4244B101A008610AF /* GameScene.sks */ = {isa = PBXFileReference; lastKnownFileType = file.sks; path = GameScene.sks; sourceTree = ""; }; - 110360D6244B101A008610AF /* Actions.sks */ = {isa = PBXFileReference; lastKnownFileType = file.sks; path = Actions.sks; sourceTree = ""; }; 110360D8244B101A008610AF /* GameScene.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameScene.swift; sourceTree = ""; }; 110360DA244B101A008610AF /* GameViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameViewController.swift; sourceTree = ""; }; 110360DD244B101A008610AF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; @@ -53,6 +53,8 @@ 110360F4244B101B008610AF /* GoldWarsUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GoldWarsUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 110360F8244B101B008610AF /* GoldWarsUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GoldWarsUITests.swift; sourceTree = ""; }; 110360FA244B101B008610AF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 11036110244B3D6A008610AF /* MenuScene.sks */ = {isa = PBXFileReference; lastKnownFileType = file.sks; path = MenuScene.sks; sourceTree = ""; }; + 11036112244B3E30008610AF /* MenuScene.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MenuScene.swift; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -103,10 +105,9 @@ 110360D1244B101A008610AF /* GoldWars */ = { isa = PBXGroup; children = ( + 11036114244B3E8A008610AF /* Menu */, + 1103610F244B3D48008610AF /* Game */, 110360D2244B101A008610AF /* AppDelegate.swift */, - 110360D4244B101A008610AF /* GameScene.sks */, - 110360D6244B101A008610AF /* Actions.sks */, - 110360D8244B101A008610AF /* GameScene.swift */, 110360DA244B101A008610AF /* GameViewController.swift */, 110360DC244B101A008610AF /* Main.storyboard */, 110360DF244B101B008610AF /* Assets.xcassets */, @@ -134,6 +135,24 @@ path = GoldWarsUITests; sourceTree = ""; }; + 1103610F244B3D48008610AF /* Game */ = { + isa = PBXGroup; + children = ( + 110360D4244B101A008610AF /* GameScene.sks */, + 110360D8244B101A008610AF /* GameScene.swift */, + ); + path = Game; + sourceTree = ""; + }; + 11036114244B3E8A008610AF /* Menu */ = { + isa = PBXGroup; + children = ( + 11036110244B3D6A008610AF /* MenuScene.sks */, + 11036112244B3E30008610AF /* MenuScene.swift */, + ); + path = Menu; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -239,10 +258,10 @@ buildActionMask = 2147483647; files = ( 110360DE244B101A008610AF /* Main.storyboard in Resources */, + 11036111244B3D6A008610AF /* MenuScene.sks in Resources */, 110360D5244B101A008610AF /* GameScene.sks in Resources */, 110360E0244B101B008610AF /* Assets.xcassets in Resources */, 110360E3244B101B008610AF /* LaunchScreen.storyboard in Resources */, - 110360D7244B101A008610AF /* Actions.sks in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -268,6 +287,7 @@ buildActionMask = 2147483647; files = ( 110360D9244B101A008610AF /* GameScene.swift in Sources */, + 11036113244B3E30008610AF /* MenuScene.swift in Sources */, 110360DB244B101A008610AF /* GameViewController.swift in Sources */, 110360D3244B101A008610AF /* AppDelegate.swift in Sources */, ); diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_boxCheckmark.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_boxCheckmark.imageset/Contents.json new file mode 100644 index 0000000..987af42 --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_boxCheckmark.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_boxCheckmark.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_boxCheckmark.imageset/yellow_boxCheckmark.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_boxCheckmark.imageset/yellow_boxCheckmark.png new file mode 100644 index 0000000000000000000000000000000000000000..72fe38873ea62c30b5be84f220e8e25c604de874 GIT binary patch literal 768 zcmV+b1ONPqP)gMR^By=m3eoh&rTS0K@796@2TSTM?5=4qfp{f0_ z(KKB14?Q6!H)&$;O+9cZZNfdj-upi%IY&`ARwxwqE0xNH;~IIbR%7eBvyMUQRjbwO zQmJ%SEEac_Rfd~HL8Js$bGh8M60=JN-K=RE({-Ko`+e6%m}#2cdc9tcHJeR8oX*`n z=RyZJG#U*y9*qT}aBVjX!&`4Y zpEKLG-B|dJ*kAyQ2L>VH$9B8zL17UQFmXN_joer;#0CRc{Kx2Oi;i$InMj8spH8RV zky7S*U?f1Ytf0urh{J_Kn#uy3yk0Tuevf^;-NxQWS|go#*(n2T^xkFm-IgOB#r2tf znQq5qfnlcziv0WGfEfdQb71qQ(-0Inc5(Vr%pMFuqoByY9uMV!jr%uj(cKA&8sGi8 z;yI2uc${m4VL`KZ%ngE1p00w&$ji{Rz>rnE-2f=A`+=hzwGLZ%>SV*Nll0Ki$6G6p^UD_jQ zRlQmzc4=U76+VgBr9Q+_aCu-!#4i2qB3MF_id{Mwj*O0!9!>uOj7kWSLHIjA4-9Qp zR*eW^QI{S9qb{6A0cfeRZr>1l*}iFhFcm+xTCGeQUc{gd3A2(VSl&P7Iie8(HNBQ) z2^$S?wdt&l7&IcFW5jSLI8@PSs6z9LEDW&_Gc+FHjiIn}7!%0^#M+2KO)hjEIU~b` z4Gr${N)m(Su&w?jKp{;n?FT6Z3Gv6@2^s(Z04;PySaefwW^{L9a%BKwc`jmX yZ*OE|c`jped2n=ZE@^FHXJsx>PDe5{MQ&qnWMy)w27m4V0000Cd) literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_boxCross.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_boxCross.imageset/Contents.json new file mode 100644 index 0000000..a595e6a --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_boxCross.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_boxCross.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_boxCross.imageset/yellow_boxCross.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_boxCross.imageset/yellow_boxCross.png new file mode 100644 index 0000000000000000000000000000000000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Rr41+p@_f%|v;fsV-;h5IfP; z2S4ImgywfkP?*o7(_-vO#EipiMA3mMjGfnl;dwA*H0SBW{U3;_Co%<4aZ_Z{49(pP zpae5+>Ybl6Ho}LAj)oAXU5k)O*yrS0%_R{c&inwuwTMNNg^Y~h0}!arqiZy?iC}U+ z)1Vx10RUSVq$IF34-I660>1jq$luxS<(m)m1=dg^bWWWJAdWV*|MjC47`ZtR)7y~` zuAuY8M}!#r0~b_`HSX1$DO=WiC)oM=~@;Zewp`Wpbznf9?PP002ovPDHLkV1hi##k>Fj literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button00.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button00.imageset/Contents.json new file mode 100644 index 0000000..21140b0 --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button00.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_button00.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button00.imageset/yellow_button00.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button00.imageset/yellow_button00.png new file mode 100644 index 0000000000000000000000000000000000000000..b25aceb5a344e2aa9755115a54202787dabc90b1 GIT binary patch literal 491 zcmeAS@N?(olHy`uVBq!ia0vp^`+(SxgAGWgOcI{Jz`$7P>EaktaqI0}U2o?=i31^xwTNmc9Nfad6A(s&m^mfBdoU(}f8unsaJpYU|a-Rv&KP zJoDn|guI**d;Z|{uPkr>`y*PBZ)aba_vztE^Xvc-UFq}JHvc?v_HE+fgcYr?*2-T! z79e29A>YD(i2Y&n2ge@@HE7%))j!I8HIA=8yq`;>{e$2>2y#?JR|nGePxnt-VqnLy z^AF>5{LR*v>(=`&&bV2zZQfb;{9>Vhk1H=1XhfOKTbus5aMQQapKG=4HUF+UKjrN4 zi&;Ipr1SPHliTz)$Ij~X$2qeve?7Uq|6#zQ9BZ(PU#vM&Xy*`{^11LrAM4=-VGp-2 z7Tw7=J?XRq(DSzY)}IT~*(cA(+wRmXpY}NPeg48Lzt8WUvsxJ#7rG^`5hcO-X(i=} zMX3x)m3m1z`S~d+m3qlVl?5gFdYQS2>8X0a*fcV6%}dTtNiABzR{svDk-^i|&t;uc GLK6U$h2sqX literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button01.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button01.imageset/Contents.json new file mode 100644 index 0000000..0895953 --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button01.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_button01.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button01.imageset/yellow_button01.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button01.imageset/yellow_button01.png new file mode 100644 index 0000000000000000000000000000000000000000..b9da991710ed3ea8fc4494c79e48748535edae3c GIT binary patch literal 432 zcmeAS@N?(olHy`uVBq!ia0vp^`+!)NgAGUuv|TJGFp{F_Th6bYdG8L_Bk!(%`zPp*2A@f>Z3G^%-d$oh^c&p4nI!%>4Ap z(Aal};N6+#hLI+PR@U9KOUmV5o?|WD|6V;`O2~P_+U*z5FDs16vx|M3dtZ!w z?b}}*WpOVpZ@;_G6o2-)`nlSF6+7>mYpj~qoBsM{&6A^tkDf@7X!&%dzbH|IL%xOo z5c|XC4~{<+Y6R@ixPNT_T$OnB@%4x4j9&%p4vB-2xdt{ZhxfPI8|i2n{<8d&D!jh( z#AKN{3{_MKrZ$E#%QLrM)>|SgA%{&wR{(5cul^2gcPTc=$bM$x1jW_2c z=9%fI+x1TV^UY93i?{A_p2_=j>Sh1hKFaK}`Uncv64!{5;QX|b^2DN4hNMcpq@4Wx wl$1)nFVdQ&MBb@0J}xItN;K2 literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button02.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button02.imageset/Contents.json new file mode 100644 index 0000000..457c9fb --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button02.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_button02.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button02.imageset/yellow_button02.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button02.imageset/yellow_button02.png new file mode 100644 index 0000000000000000000000000000000000000000..15b1f3dc1ac23616b357a288a6a9ad72e4dd19be GIT binary patch literal 522 zcmeAS@N?(olHy`uVBq!ia0vp^`+(SxgAGWgOcI{Jz`!`e)5S5Q;?~={3;kpQCE6aw zf8p97D!~%o5Zk!&vCs}Nr-PwaOeMIMa`%NS@VN27tI=U~lxvg1%B-N)+3&WW7V%ka zVEuW{6VG#J*8KXMR(5A)RYZJQcEP^r+v)OIBGap{9$1rI?RPtK&%AYaOjLd;to2`H ze|zQCZ_nO-toi)ACUeoxk6dYSw~KH6`>k(~XE)y>eCLnKT^Ru-QBwY|Gxu%Ud9VKC zkLK6YeTz-6n~1Y+*4JJBvVGs}?R8scpKN}An$6XG>D&4?`8F5vzu$ZHYg+gZu|I77 z;P^wKM!=3k9-Z6&p%sjHIj}3L*!RJH|NOjn`+1k~?>{Fkba&FSRknZmD{%hAXRi}B&$?)>9(S2P)AsE352b%kJ$v!? z%kAR@FBWZ?d+c)6to0AwWS=qpQaXG6_|_;xo+{CQQM_8&^?SGRw%B>R{#wF&J-f8# z^Ra>#86V6u_q_efFI*bdxpeEc0$^0>mbgZg1m~xflqVLYG9*>%CFSJjr=(QsB^Ol| ol;rDW<|d}6>H#C$$iy`-IX@+}Xa!sSJD^4ePgg&ebxsLQ03HVXx&QzG literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button03.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button03.imageset/Contents.json new file mode 100644 index 0000000..6aa93af --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button03.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_button03.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button03.imageset/yellow_button03.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button03.imageset/yellow_button03.png new file mode 100644 index 0000000000000000000000000000000000000000..70ee72034819ecd1b9eb3291be7c34a8bfe97d7f GIT binary patch literal 458 zcmeAS@N?(olHy`uVBq!ia0vp^`+!)NgAGUuv|TJPCYmvgxm_mj4yo=?@f6XCZCDWTOtG?ILFfUe4MJ;Jx>u*qkEzk+hs`Hd zu0BjRy6d^p_Hp7X-?o=2C9~EYej9me!%MI87t2iM)y>5&DiyJx6Rk!of-Rfyq6X!?b=q)YcC;W`s;J2eoYJiA@+yO9~^%u)Ckyd$fI-n zKeU1oF9&u-KlXoEe)x-!c>d{o*Qa;)DF#kY-JWSJl^6YO1-3<{QQ)ZO1EaktaqI0}+ia0Uk+z4y zD>^ikx;liKq*OYT7O@zfSft_k-2X&Ar{^1;H!8j+uhiy7L~yp1tjj*rE`L!gK{0|e z?4{c8H|J(dP+ES@_&c}w9^;(S9W!TU-R~%>ozv@9ZI%|LpX4|#&W-U+dFc79=-%V! zmd@tkEM0JI_r>k=jz^S!zP|h4qxk9-tAAK>y{QH&`Tak7!R0-6h0{turWa0dJUB}# z{B@SymdKgb8~!%S^Lu?~WKKPwdjD#${VHGmUlaSP8x~HqJv9C6?uPlc^MBm^Al)$E z=8tv5e3L)#4}+MuK}0l&pYIG}&IS?EApZL6jP{j3t}_6Ma7O#gAMxuL>OOtYX9g1N zAb$3AkQ6gWeK&~s4AOM9?ts5so%{oJ{{J!$)OqWl>VTL$Ai@O1|0x1us(=Usx8T+oJhnnhfi{-BDn$`a-<y5>x>Pc&g zi<=)FF!{l28uxV{t9aAa%ro+x`oILDTjCl~5}cn_Ql40p%8*p4mz0yApOR9kmt0g? pP?E2gnVXoNss~JBMkcO#$@wX%MJw3q-vKo;c)I$ztaD0e0sy4cDg6Kd literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button05.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button05.imageset/Contents.json new file mode 100644 index 0000000..7557325 --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button05.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_button05.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button05.imageset/yellow_button05.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button05.imageset/yellow_button05.png new file mode 100644 index 0000000000000000000000000000000000000000..1523ad557dcf37876e2953a5ac40a539fbfe2dfc GIT binary patch literal 557 zcmeAS@N?(olHy`uVBq!ia0vp^`+!)NgAGUuv|TJEaktaqI2fv)V3!630Jo zb`bJZnfOE%NVv@E_@VzN(`d?4dxwcnC6f2-U$abS%G#-SP0yF|ZThh0`Sa>m!O!od zmHsY!7kgINDJK1BfQI;CzfAo(Gfvf=XmFcewQbwlj~|L}`pOCYW6rki-?v42+vT&* z7cYFXcF%;<^R_j#ft2jO$Mp5tTjAwd;_H_S+h}-fKDM?r+wR7*PYYiDX7882Xr-X= zP3E`X@;Z;%=Us%H^`a)xg7~o$+O@%f4$U&$8Gh-tU#6XS-$*u=+97f=fnEr zAeG4ta`t}$K?)5(MrLsUjkMc8_-L1kW{Icl#`#Il2WOcTvS<5lCPJUo0y)e g2TTt}Ca!tO`6;PIE7IEGZ*dOOS3>u7*LYdWjm zf!c`OEa3_-?>3zFoZe#6w8Se}*kkegS@v-=y;!E&2uO49eCFb=q_NNI-GQA232B#V zmR=f5$<6*T9;!M^Bkj4NXHm_Qe`Sy?LiuP>RJ&texS0`)$wC|CXT_n%!pMO6w`1^qrc1Tw|IhK8*zg_Fp zI@MLb@0)Z5b*FV6Z)Gcw1C<)F_D=AMb zN@Yl@)Jw|A&reCI)Jra^EGWs>%gjwoPt^lPhLMSDUUGg)YS9X|`gcH$44$rjF6*2U FngF2^xCQ_K literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button08.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button08.imageset/Contents.json new file mode 100644 index 0000000..58af4de --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button08.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_button08.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button08.imageset/yellow_button08.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button08.imageset/yellow_button08.png new file mode 100644 index 0000000000000000000000000000000000000000..77a23b49e3365463211d1bdbc41c21455ea34129 GIT binary patch literal 369 zcmeAS@N?(olHy`uVBq!ia0vp^hCr;#!3HGRJDUFhssElXjv*Dd-rh3gI^-b0dO@>@ zf40cH17@wg+dpu~c?z+5^DAgfGZb{)uz@RrBdlp^g5clNej5U|%$d6XL*nFD_GZ2_ zL_cOv^$bceI^({{;ac*_wXVAts{cCm`jB_`(*3M^WflCFuGjD199FAqrT2AVy522b z+u4^Zza3BCa`15FO|!^9!575$UX0&x({IrN1}R(Ki@bs^0*)+5#H`pHb9-g4jnYaT z3QZg^;*f=sQCG)3p&OTls@Zz;#aQS41e$^Jk54HDm zkL|Bxne*p(Z_~3pcP-|c_{J&g@Axw9mrJU-lW#WR&VNw2l(% zCFSJjr=(QsB^Ol|l;rDW<|d}6>H)*l$iy`-IX@+}Xa!sSJD^4ePgg&ebxsLQ09z)L A00000 literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button09.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button09.imageset/Contents.json new file mode 100644 index 0000000..4bba4fc --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button09.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_button09.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button09.imageset/yellow_button09.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button09.imageset/yellow_button09.png new file mode 100644 index 0000000000000000000000000000000000000000..e00e7e3e7f53f821720bbcd24cbb30a84a55aa19 GIT binary patch literal 452 zcmeAS@N?(olHy`uVBq!ia0vp^h9Jzr1|*B;ILa_EFa~+LIEGZ*dOK^cACsd zzTfAzROQ`ciyc7ee|P-OoKH7-mSU*E#<@@TiK_X}gGrZcBjjhuSec)*{ND7zN$*qY zntx^wx>Fwi)$sYTU-5Yu=dq?E=Vni6QBhIk^z?8NnuLRSXWJ#VZ*Sw<{=Arb@T>mYziJ65eCu46M{L@$ z-{byt){3G@)9*ZS4>_)@9_CzkC!{bbYSFB}+g@I~utCG&UGICRK;Eepg=s8xZgJ=T z@m3TRR=#A2dI=0<-4fS`lHmNblJdl&REDHVy`-G{{FIbRz2u_Gf|7i_%-qEER6Src d8JW1|CFiH47Oh~be+Sga;OXk;vd$@?2>@K%!|4D3 literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button10.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button10.imageset/Contents.json new file mode 100644 index 0000000..83e3d75 --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button10.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_button10.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button10.imageset/yellow_button10.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button10.imageset/yellow_button10.png new file mode 100644 index 0000000000000000000000000000000000000000..4c431d620683b54754ff61d1d357168ea0d3de12 GIT binary patch literal 395 zcmeAS@N?(olHy`uVBq!ia0vp^hCr;#!3HGRJDUG6FfdAbx;TbZ+68nHMNd_9^7k zzgw-8<}2Kp*11JpR#LHhoyPs7n+G`KD&s7^2>yybu$EPAqsiNcc>!U|BYoX-rSBcx z)Ob1c`LX`=Ek}+g#(Wj}6MKL=?*q44=K2pm6m>PX>S&pY|7X(sAQ=|TyHUD!suO&uOGh0 zukBdse=u9+SJk8g(^Ol`KBUH$zm31l)b}rW(SfsNM=l-u&BbDOeKJd0EaTeL6O4M! zTlhgCR^l2_5}cn_Ql40p%8*p4mz0yApOR9kmt0g?P?E2gnVXoNss{{hBNNxW Vq7`iQ?|>Q^JYD@<);T3K0RWBEnFs&? literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button11.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button11.imageset/Contents.json new file mode 100644 index 0000000..f650890 --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button11.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_button11.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button11.imageset/yellow_button11.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button11.imageset/yellow_button11.png new file mode 100644 index 0000000000000000000000000000000000000000..f3f236a1ff575981cd062ed61e997f3ad74543ec GIT binary patch literal 563 zcmV-30?hr1P)L=^w6)BZrNH^Nd1{1i@Pw~@f3T@2&470) zAhTidaP#S?&3ns6OL&hna)fU1{5+kaKYpW2yu75lCB^>&zVL>>VUgP{`}*KvI$%nW zz%6hMPs7569}p`t=>V~RBEbEGKL4IXDPmk79x zK0IPj9~yBppbwAe*M~>+=|dx~d-dTFJ^Jv7ZhdG(zDpk-5z&W7bn3$++V!CkS8e+6 zh*o`gM2kK&BG;@Bk7&||M>Og~BQ6{C;Su%v@Q6BnXv9UWK0KmEA0APy4~;ml(uYS> z>cb-{^!XievhFY5^TF`qs>Acn%5{NX(G$M#hQFm({fOt|h*Q&3_`)0hcChp{+;(LQ z9FBhh{B3X1ywr+&w+R5e;cv-#d&S~#+5f*>kcTIH;SGOFF4#U^Tm}BNldxH*BND-F zo838Eb1?wkKduWU=PX{_EI1-xfN$vj0oI0X6|On+r2qf`Ep$a#bW?9;ba!ELWdLG% zE@EtNZ)9Y7E@N_eaCC1jX>DO=WiC)oM=~@;Zewp`Wpbznf9?PP002ovPDHLkV1oa7 B2(thH literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button12.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button12.imageset/Contents.json new file mode 100644 index 0000000..fa01808 --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button12.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_button12.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button12.imageset/yellow_button12.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_button12.imageset/yellow_button12.png new file mode 100644 index 0000000000000000000000000000000000000000..8b271b01c6870f2e5ab2af181b3189af9d899700 GIT binary patch literal 500 zcmVM%7RuJj?z-=F4pQdb zzSpUz&b`gzc{+DizhmasWoSVZ+Clxu&OzhY5;eRVJmG6U7hWn#GvJ*C)DLanzkEI| zByUkUBYE1B!@I%r>vU3od`3+?yk3+f#s31n@P@x((>m$-{=ws}V@D9@=3M=0nBRN` zR8zKdK($K*c-YdX>q%r0fj&H9Qy&^}zo8G0Sl5R~RP><{cV&He#F{=lVpSg+al4`q zk66}+M=a?>BW@P;;Sme^@Q9K=G@>)F505D7!z1SO;Sn?X(1>N}_@$okbz|Td5j8x#oE395J%z7}sAV?^{ITR^4D83hZUh|sj~fMk zVKVRkA32bZvzr8NeE@a5!;%faJJkRH04;PySaefwW^{L9a%BKwc`jmXZ*OE|c`jpe qd2n=ZE@^FHXJsx>PDe5{MQ&qnWMy)w27m4V0000EaktaqI0}`z&ckiS~z< zjrC@un*WVN0*LYFwz1>G%?uX4E9DgX(2-tDRx9}fgN9DTzI0Qp& zt=QE4kbfv&_l~D0%;WTbp8cySzW*qHs-C<5mGPyTnLcV?YwXHjo6em8R4m!+)}E8LIr8qG`|aC2Z)e)9UH;QZ zu7Cd%#$8Hh)&KOjIZo$kKOA?`>X^NOfK|~g{!>4#>bQR$pKg74;nIWeFI8OrEgcy7 zV#!Y*h9|)2(JgU}C<)F_D=AMbN@Yl@)Jw|A&reCI)Jra^EGWs>%gjwoPt^lPu#t&t ZUUGg)YS9X|`gcH$44$rjF6*2UngCq0^O*nu literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_checkmark.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_checkmark.imageset/Contents.json new file mode 100644 index 0000000..baedfb5 --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_checkmark.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_checkmark.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_checkmark.imageset/yellow_checkmark.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_checkmark.imageset/yellow_checkmark.png new file mode 100644 index 0000000000000000000000000000000000000000..95b43cc6971e345c18c05944a48b87b07128bbe3 GIT binary patch literal 358 zcmV-s0h#`ZP)20002=NklskO*f1zqP=Wx& z0S5SdYzja$ws1uEI*LO;v4_nSAWNX~^9gwyl*Et&em_3N#25&QJdy*SfPwq5#wsYr z$T1KUp*YhfG$QVkVjxDuU<06}M3O6sP2_)1Gt?6qj{OwpYoa0sAHbJ$@J0;5U;t(Y zY=%-?cA_UUl1m?4$qW_@uKQKGBibQV{c?-a;OG>?f?J)07*qoM6N<$ Ef|{y~y#N3J literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_circle.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_circle.imageset/Contents.json new file mode 100644 index 0000000..a6b8d3f --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_circle.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_circle.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_circle.imageset/yellow_circle.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_circle.imageset/yellow_circle.png new file mode 100644 index 0000000000000000000000000000000000000000..1459858741a69c835ce14b616fed3d61524f299a GIT binary patch literal 870 zcmV-s1DX7ZP)KSxCW!n=G<%kxh_nTy&F#o9_A(`V;yS`V(9iS|m{@2vQ1y3!$Y8p)tm! z#!nCeE(!%f5Cox%+c}eWukX!F#+h{HLBYV?Xfku&x#!%EN0jr^{YcBb4SLt>(0X@+ zz9j|z-)+;Iz4!Ej%J|^H2W@&AfEf2TiStD8o6k5zVPF8{utT@MxI5G$X%T95Aom3b*$Cc=X02`$y0j4b0%Pe2atU=5 zxcwQ>{|6}MGR!o-0G+PHT_znKlbxR`ZG~yHXz1GcVKt|Z0ksb>$V8-{>FkU@U_MbD z`KU#v23cds<5(*?(zKP`KCHGO=?e9u-98v4WjIro$`rQ|v#^7)IX*EOmbA&1)%A_l z?b+I4C%XFJOF9>!`4tIjSdC4KsVk8<4zrOqTQG&Ovmg;8;AokrpWOd}SoEY!0o1JZ z35PMe84fATARC!?ewne6K1_5fbfhrrS_CJJ>dsoNOJX46+!qkC7D>@W0dv>s#zde= z5m}?fO#)`-YZ{aTSpdKm1}O(vhKmMaMFjlMcSdGsTeI(cpf9k75|I?56AQ>V(b~Q* zt-wg(K&IXu0UWOOlH#dLgp|);W_J+OmS<|B0000jbVXQnQ*UN;cVTj60AhJAVr*}3 wWMp|RV{&KQKGBibQV{c?-a;OG>?f?J)07*qoM6N<$f+eMb4*&oF literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_cross.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_cross.imageset/Contents.json new file mode 100644 index 0000000..4520ecc --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_cross.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_cross.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_cross.imageset/yellow_cross.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_cross.imageset/yellow_cross.png new file mode 100644 index 0000000000000000000000000000000000000000..cdd77e0ec0a684c58a741f7f50c8f877a4b11cf4 GIT binary patch literal 290 zcmeAS@N?(olHy`uVBq!ia0vp^LLkh+1|-AI^@Rhe4W2HJAr-ggUOvrx$bpCD!pnvr zjZPuW2Il9iDqahii~2-3W@<=Frc|p(-108__B5G2;#K9LceO`1>fcx#c*fwgalG^% zgO~#Oe2L`_(-XNb8J;%QPMf$(>5Nk8+8g>piE>GXJgn^bmy;xooF^OJU)$>Gv6g4@ z#QF^aH=9f+hLumToGic@JW=F!*Nz!RIj1gs60g*_d(uGap>U<{w+&yuZnE4M@#A1T zYkKO98Hv}Flq literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_panel.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_panel.imageset/Contents.json new file mode 100644 index 0000000..904e5f4 --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_panel.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_panel.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_panel.imageset/yellow_panel.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_panel.imageset/yellow_panel.png new file mode 100644 index 0000000000000000000000000000000000000000..a377f8c122889b40cdb852e0f1708f4e413eb002 GIT binary patch literal 612 zcmeAS@N?(olHy`uVBq!ia0vp^DIm+RKzS;2`C#~+rT z4d9ZEiQVl{`0~P0#qRQp-Y--uWLdkP99gLl=g|Hrz`(Lo(7V}hF00}N&lewNn!gOc z?J97lu#)dj+nmWS{}=2N{`f$O_tA#jM}IRUp5OeEEAsdEt9?7aRtUJKAKxh3ui%%I z|MSDGi2utyg}b}2e=KR8XjQ2!A2aXUsqg%|pDw!_AG&Yv6}DBspIzHonP;Duw2djV z{o|^nJ8@rmuNCgBbUo?sc4cwa$B#dM`G0N>va{Dr-4=XGWlLw#?K>9ROPTOB2-%CFSJjr=(QsB^Ol|l;rDW<|d}6 g>H(9Hk%?zopr07t+7)&Kwi literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderDown.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderDown.imageset/Contents.json new file mode 100644 index 0000000..3d22dba --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderDown.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_sliderDown.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderDown.imageset/yellow_sliderDown.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderDown.imageset/yellow_sliderDown.png new file mode 100644 index 0000000000000000000000000000000000000000..5b8f9d626d5c81ee5163e87e2e4a44d1740996de GIT binary patch literal 434 zcmV;j0ZsmiP)5Uk5tSfev(_10CqV ze+imf+e=vvV=vW{y$v|-V8{vYj^>mSXoNAdVR?no!bKaW!3{oH;0FmgtQc9?i_Y&W>ChO)f08gO`tH^2Xbj`pwAk;^1F@f>LRflK z5VN9-adq{;WH^_?tmxX?T@c$s&s(T^*YGsPIct*G7P=>*SQ7dtm>wCGd<@G+wbWw? zH2OO!ym1B$0000jbVXQnQ*UN;cVTj60AhJAVr*}3WMp|RV{&KQK cGBibQV{c?-a;OG>?f?J)07*qoM6N<$f+i=n>i_@% literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderLeft.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderLeft.imageset/Contents.json new file mode 100644 index 0000000..71fa343 --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderLeft.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_sliderLeft.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderLeft.imageset/yellow_sliderLeft.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderLeft.imageset/yellow_sliderLeft.png new file mode 100644 index 0000000000000000000000000000000000000000..9ec9498210797929487b915cd5b6709acbe47627 GIT binary patch literal 507 zcmVmqFn`ERGW%G!De#I2It57!(e~QGH=` z;LC#=^mQPfiXW>3QEClZJCHz=X0Ds~>G<9E26951JEp$a#bW?9;ba!ELWdLG%E@EtN xZ)9Y7E@N_eaCC1jX>DO=WiC)oM=~@;Zewp`Wpbznf9?PP002ovPDHLkV1f!s&};wz literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderRight.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderRight.imageset/Contents.json new file mode 100644 index 0000000..d65ee13 --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderRight.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_sliderRight.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderRight.imageset/yellow_sliderRight.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderRight.imageset/yellow_sliderRight.png new file mode 100644 index 0000000000000000000000000000000000000000..452ae608b11c928d211d2499c92e49abbfa47e4b GIT binary patch literal 498 zcmVOi(4~lrgNuR=4t@eZg?e!Am%RQ-pdQmmiO+Lklf{fpt>hm?w;X>@^}tE>(IFO4K%%DRA5r= zL(B(_0~@GlXdaqR8%K9Ujs437|NC~u_xszKhsJ%om=nOe271~+c~`%^H7hWg@$05J zP~!dudO-Ghsigz5;L-xwaA|<7xCoFw!heD6I0Z-{R1n>^p=4le1Qu3lX9HFF1Z{=Jr+G|Z5G(Ptfh*cDgcla` z2$MC#@B|CtJlZt@k+MERfqvdg0000jbVXQnQ*UN;cVTj60AhJAVr*}3WMp|RV{&KQKGBibQV{c?-a;OG>?f?J)07*qoM6N<$f?r14fB*mh literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderUp.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderUp.imageset/Contents.json new file mode 100644 index 0000000..8ec95ef --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderUp.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_sliderUp.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderUp.imageset/yellow_sliderUp.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_sliderUp.imageset/yellow_sliderUp.png new file mode 100644 index 0000000000000000000000000000000000000000..951d2914d5fc894047426c3c83fd3acd5cf4a589 GIT binary patch literal 427 zcmV;c0aX5pP);NT>vrwF2gP!Re86{kXn z^gg{i&tT6x{GWp)@Im;8u=(>c6ov} zLGoj>x1{==mJVYY$~l~S5IqWuii%)iQBf=mYF|xHqF4Y*3+|n`vI=sThW?E2yt~%} zz2h&1xpCGtpaBhNKm!`kfCfBEkS{C!?DO=WiC)oM=~@;Zewp` VWpbznf9?PP002ovPDHLkV1k~rwvzw= literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_tick.imageset/Contents.json b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_tick.imageset/Contents.json new file mode 100644 index 0000000..8860d58 --- /dev/null +++ b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_tick.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "yellow_tick.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_tick.imageset/yellow_tick.png b/GoldWars/GoldWars/Assets.xcassets/UITexture.spriteatlas/yellow_tick.imageset/yellow_tick.png new file mode 100644 index 0000000000000000000000000000000000000000..65895965440ec32192514f4eae09a3f6dce332f1 GIT binary patch literal 293 zcmeAS@N?(olHy`uVBq!ia0vp^f*{Pn1|+R>-G2e8&7LlfAr-fh6Am!$lTV%Szqae3 zoTRY;_rEy_AO072J^c6InCJh-hx?aHJllW!?1BEv3=^1QW=;IK|1!_}`gtiAj+Y$t zY^zA(X-HgHQghAtkL}q2|4u~(n+_gD z^R$2@jwyRI4Oyl*czUh8VQ@n5!x=WOQ!2Y3sW{tvZDL<49wa2&#%REBihDtWlGaoq zrUeR|DNig)Wk{;jOUlX5Pf4lNOD?J` oD9P8$%uP&B)dPluk%?zopr00FyjT>t<8 literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/GameScene.sks b/GoldWars/GoldWars/Game/GameScene.sks similarity index 100% rename from GoldWars/GoldWars/GameScene.sks rename to GoldWars/GoldWars/Game/GameScene.sks diff --git a/GoldWars/GoldWars/GameScene.swift b/GoldWars/GoldWars/Game/GameScene.swift similarity index 100% rename from GoldWars/GoldWars/GameScene.swift rename to GoldWars/GoldWars/Game/GameScene.swift diff --git a/GoldWars/GoldWars/GameViewController.swift b/GoldWars/GoldWars/GameViewController.swift index 880b8ba..90982d7 100644 --- a/GoldWars/GoldWars/GameViewController.swift +++ b/GoldWars/GoldWars/GameViewController.swift @@ -14,30 +14,14 @@ class GameViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() - - // Load 'GameScene.sks' as a GKScene. This provides gameplay related content - // including entities and graphs. - if let scene = GKScene(fileNamed: "GameScene") { - - // Get the SKScene from the loaded GKScene - if let sceneNode = scene.rootNode as! GameScene? { - - // Copy gameplay related content over to the scene - sceneNode.entities = scene.entities - sceneNode.graphs = scene.graphs - - // Set the scale mode to scale to fit the window - sceneNode.scaleMode = .aspectFill - - // Present the scene - if let view = self.view as! SKView? { - view.presentScene(sceneNode) - - view.ignoresSiblingOrder = true - - view.showsFPS = true - view.showsNodeCount = true - } + + if let view = self.view as! SKView? { + if let scene = SKScene(fileNamed: "MenuScene") { + scene.scaleMode = .aspectFill + view.presentScene(scene) + //TODO: create dev profile or remove on delivery + view.showsFPS = true + view.showsNodeCount = true } } } diff --git a/GoldWars/GoldWars/Menu/MenuScene.sks b/GoldWars/GoldWars/Menu/MenuScene.sks new file mode 100644 index 0000000000000000000000000000000000000000..735bd9004785c67fabffcb5143120feb54b98a33 GIT binary patch literal 8261 zcmcgxdwdgB+CJxWk|s==PC98W2(+|_3bZC^nzky^8#hZ^q(Dn49n)so4x~xUrKQyB z2yzn@R&)jN0tL}U#5*D&x(etjx+~y~RY62VaAjqe71vMw-ZPUx%ku5_{qyboelv6C z%(=hM`fLLTeDaeRY5r<5(e8J{eyBLV(M!Q0y zz-84`)HI6$v7|W)J(NTuQfq*|j>KDm7N>@T!DyY(I!7ruO^^aDL3x3Ehm7Tg^3tcd z6^KV>B%#?Tgl{SzhW?JuqJNU?ci@G130{Wp!prdrd>`I{ci~s@YxoVk7r%|)!SCTe;=}kT{t_R@U*nVb z6#fo>kN=L(;&b>%GMHqNp(Kl3POc&&$VgH}ZX{Dk4Vg~r$xPBf=92|vF5h4PRaE z5-3v!xzpe*Ms<)=56>k^9Rb~hypU6jd`Ltss1=nrD3%tQg0X-vQZLM%5{!B&JnDtW zoaV{iSVZ*A5JJI-L^B1>Bs6)O=d^}t@v@*l7%r(5B5huu7;X@}f#$Ygcydq*L}v+e z6nH8~iwGR2KG(#WYC>TtDni!3v{YIvv`Idn7-$rNVX0LLc>QI5ZzNJDc-3Z9IMxcy z-gYtUtrwd7V!&4!^ofna7>Go}UKkJb$HO>-F~6@2 z5HE(uNq)H23-cz&r&cR;)iitk;3izW;1q8Jib(Us>BE}oI0Vide=|1Vg}%qOv`~+P zHWF)giAjxb5SlNH0v46_LC0Jx%vJiU6++4)*9pOpw^@pIO%nnzze_YVr9tSBA`^Qx)irKwYsVx+dJMwv`66zHg{s;O2eGJDKlk#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<_H28uy}({-ueQ&z&$V~i=h<(uFSW0!jqW* literal 0 HcmV?d00001 diff --git a/GoldWars/GoldWars/Menu/MenuScene.swift b/GoldWars/GoldWars/Menu/MenuScene.swift new file mode 100644 index 0000000..137a5d4 --- /dev/null +++ b/GoldWars/GoldWars/Menu/MenuScene.swift @@ -0,0 +1,36 @@ +// +// MenuScene.swift +// GoldWars +// +// Created by Alsen Duraki on 18.04.20. +// Copyright © 2020 SP2. All rights reserved. +// + +import SpriteKit + +class MenuScene: SKScene { + + var startGameButtonNode:SKSpriteNode! + var settingsButtonNode:SKSpriteNode! + + + override func touchesBegan(_ touches: Set, with event: UIEvent?) { + guard let touch = touches.first else { + return + } + let gameScene = GameScene(fileNamed: "GameScene")! + let location = touch.location(in: self) + let frontTouchedNode = atPoint(location).name + + let transition = SKTransition.moveIn(with: .right, duration: 1) + + if frontTouchedNode == "startGameBtn" || frontTouchedNode == "tmpStartGameLbl"{ + self.view?.presentScene(gameScene, transition: transition) + } + + if frontTouchedNode == "settingsBtn" || frontTouchedNode == "tmpSettingsLbl"{ + //TODO: Implement settings functionality + } + } + +}