gave it an actual UI, fixed game logic, added some polish
|
@ -446,7 +446,7 @@
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 2;
|
CURRENT_PROJECT_VERSION = 1;
|
||||||
DEVELOPMENT_TEAM = PRBH2T6668;
|
DEVELOPMENT_TEAM = PRBH2T6668;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
INFOPLIST_FILE = DevourAndDrought/Info.plist;
|
INFOPLIST_FILE = DevourAndDrought/Info.plist;
|
||||||
|
@ -462,7 +462,7 @@
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 1.0;
|
MARKETING_VERSION = 1.1;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.mpg13.faf;
|
PRODUCT_BUNDLE_IDENTIFIER = com.mpg13.faf;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||||
|
@ -477,7 +477,7 @@
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 2;
|
CURRENT_PROJECT_VERSION = 1;
|
||||||
DEVELOPMENT_TEAM = PRBH2T6668;
|
DEVELOPMENT_TEAM = PRBH2T6668;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
INFOPLIST_FILE = DevourAndDrought/Info.plist;
|
INFOPLIST_FILE = DevourAndDrought/Info.plist;
|
||||||
|
@ -493,7 +493,7 @@
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 1.0;
|
MARKETING_VERSION = 1.1;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.mpg13.faf;
|
PRODUCT_BUNDLE_IDENTIFIER = com.mpg13.faf;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||||
|
|
Before Width: | Height: | Size: 129 KiB |
Before Width: | Height: | Size: 129 KiB |
Before Width: | Height: | Size: 129 KiB |
|
@ -1,17 +1,17 @@
|
||||||
{
|
{
|
||||||
"images" : [
|
"images" : [
|
||||||
{
|
{
|
||||||
"filename" : "coollogo_com-13092940.png",
|
"filename" : "PenelopeGomez.png",
|
||||||
"idiom" : "universal",
|
"idiom" : "universal",
|
||||||
"scale" : "1x"
|
"scale" : "1x"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename" : "coollogo_com-13092941.png",
|
"filename" : "PenelopeGomez-1.png",
|
||||||
"idiom" : "universal",
|
"idiom" : "universal",
|
||||||
"scale" : "2x"
|
"scale" : "2x"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename" : "coollogo_com-13092942.png",
|
"filename" : "PenelopeGomez-2.png",
|
||||||
"idiom" : "universal",
|
"idiom" : "universal",
|
||||||
"scale" : "3x"
|
"scale" : "3x"
|
||||||
}
|
}
|
BIN
DevourAndDrought/DevourAndDrought/Assets.xcassets/Penelope Gomez.imageset/PenelopeGomez-1.png
vendored
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
DevourAndDrought/DevourAndDrought/Assets.xcassets/Penelope Gomez.imageset/PenelopeGomez-2.png
vendored
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
DevourAndDrought/DevourAndDrought/Assets.xcassets/Penelope Gomez.imageset/PenelopeGomez.png
vendored
Normal file
After Width: | Height: | Size: 12 KiB |
23
DevourAndDrought/DevourAndDrought/Assets.xcassets/gold_bg.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
"images" : [
|
||||||
|
{
|
||||||
|
"filename" : "texture_71___gold_by_wanderingsoul_stox-overlay.jpg",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "texture_71___gold_by_wanderingsoul_stox-overlay-1.jpg",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "texture_71___gold_by_wanderingsoul_stox-overlay-2.jpg",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "3x"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"info" : {
|
||||||
|
"author" : "xcode",
|
||||||
|
"version" : 1
|
||||||
|
}
|
||||||
|
}
|
After Width: | Height: | Size: 1.6 MiB |
After Width: | Height: | Size: 1.6 MiB |
After Width: | Height: | Size: 1.6 MiB |
21
DevourAndDrought/DevourAndDrought/Assets.xcassets/gold_lbg.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
"images" : [
|
||||||
|
{
|
||||||
|
"filename" : "texture_71___gold_by_wanderingsoul_stox.jpg",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "3x"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"info" : {
|
||||||
|
"author" : "xcode",
|
||||||
|
"version" : 1
|
||||||
|
}
|
||||||
|
}
|
After Width: | Height: | Size: 425 KiB |
23
DevourAndDrought/DevourAndDrought/Assets.xcassets/sand_bg.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
"images" : [
|
||||||
|
{
|
||||||
|
"filename" : "photos_2017_7_14_fst_sand-texture-ripple.jpg",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "photos_2017_7_14_fst_sand-texture-ripple-1.jpg",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "photos_2017_7_14_fst_sand-texture-ripple-2.jpg",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "3x"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"info" : {
|
||||||
|
"author" : "xcode",
|
||||||
|
"version" : 1
|
||||||
|
}
|
||||||
|
}
|
After Width: | Height: | Size: 4.9 MiB |
After Width: | Height: | Size: 4.9 MiB |
After Width: | Height: | Size: 4.9 MiB |
|
@ -1,9 +1,9 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19162" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
|
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
|
||||||
<device id="retina6_1" orientation="landscape" appearance="light"/>
|
<device id="retina6_1" orientation="landscape" appearance="light"/>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<deployment identifier="iOS"/>
|
<deployment identifier="iOS"/>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19144"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
|
||||||
<capability name="Image references" minToolsVersion="12.0"/>
|
<capability name="Image references" minToolsVersion="12.0"/>
|
||||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||||
<capability name="System colors in document resources" minToolsVersion="11.0"/>
|
<capability name="System colors in document resources" minToolsVersion="11.0"/>
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" secondItem="tzs-7w-lyi" secondAttribute="height" multiplier="77:46" id="axO-24-MFU"/>
|
<constraint firstAttribute="width" secondItem="tzs-7w-lyi" secondAttribute="height" multiplier="77:46" id="axO-24-MFU"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<imageReference key="image" image="Micah Gomez"/>
|
<imageReference key="image" image="Penelope Gomez"/>
|
||||||
</imageView>
|
</imageView>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="From" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Zuj-Ek-bSV">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="From" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Zuj-Ek-bSV">
|
||||||
<rect key="frame" x="164" y="0.5" width="568" height="29"/>
|
<rect key="frame" x="164" y="0.5" width="568" height="29"/>
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
</scene>
|
</scene>
|
||||||
</scenes>
|
</scenes>
|
||||||
<resources>
|
<resources>
|
||||||
<image name="Micah Gomez" width="385.5" height="230.5"/>
|
<image name="Penelope Gomez" width="216" height="137"/>
|
||||||
<systemColor name="systemBackgroundColor">
|
<systemColor name="systemBackgroundColor">
|
||||||
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
</systemColor>
|
</systemColor>
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19162" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="AEX-uU-vJw">
|
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="AEX-uU-vJw">
|
||||||
<device id="retina6_1" orientation="landscape" appearance="light"/>
|
<device id="retina6_1" orientation="landscape" appearance="light"/>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<deployment identifier="iOS"/>
|
<deployment identifier="iOS"/>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19144"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
|
||||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||||
<capability name="System colors in document resources" minToolsVersion="11.0"/>
|
<capability name="System colors in document resources" minToolsVersion="11.0"/>
|
||||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||||
|
@ -17,19 +17,27 @@
|
||||||
<rect key="frame" x="0.0" y="0.0" width="896" height="414"/>
|
<rect key="frame" x="0.0" y="0.0" width="896" height="414"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
|
<imageView clipsSubviews="YES" userInteractionEnabled="NO" alpha="0.5" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="sand_bg" translatesAutoresizingMaskIntoConstraints="NO" id="t7K-vz-wkr">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="896" height="414"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
</imageView>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="fVC-Au-OTH">
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="fVC-Au-OTH">
|
||||||
<rect key="frame" x="398.5" y="157.5" width="99" height="99"/>
|
<rect key="frame" x="398.5" y="157.5" width="99" height="99"/>
|
||||||
<color key="backgroundColor" red="0.86274509799999999" green="0.69411764710000001" blue="0.24313725489999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
<color key="backgroundColor" red="0.86274509799999999" green="0.69411764710000001" blue="0.24313725489999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" secondItem="fVC-Au-OTH" secondAttribute="height" multiplier="1:1" id="KaI-nS-nbh"/>
|
<constraint firstAttribute="width" secondItem="fVC-Au-OTH" secondAttribute="height" multiplier="1:1" id="KaI-nS-nbh"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="20"/>
|
||||||
<color key="tintColor" systemColor="labelColor"/>
|
<color key="tintColor" systemColor="labelColor"/>
|
||||||
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||||||
<state key="normal" title="Button"/>
|
<state key="normal" title="Button" backgroundImage="gold_bg">
|
||||||
|
<color key="titleShadowColor" systemColor="labelColor"/>
|
||||||
|
</state>
|
||||||
<userDefinedRuntimeAttributes>
|
<userDefinedRuntimeAttributes>
|
||||||
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
|
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
|
||||||
<integer key="value" value="13"/>
|
<integer key="value" value="13"/>
|
||||||
</userDefinedRuntimeAttribute>
|
</userDefinedRuntimeAttribute>
|
||||||
|
<userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
|
||||||
</userDefinedRuntimeAttributes>
|
</userDefinedRuntimeAttributes>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="boxTouched:" destination="lH6-xc-QZo" eventType="touchUpInside" id="lif-2y-nk5"/>
|
<action selector="boxTouched:" destination="lH6-xc-QZo" eventType="touchUpInside" id="lif-2y-nk5"/>
|
||||||
|
@ -41,13 +49,17 @@
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" secondItem="yCi-WS-j56" secondAttribute="height" multiplier="1:1" id="qSS-Iz-Fpf"/>
|
<constraint firstAttribute="width" secondItem="yCi-WS-j56" secondAttribute="height" multiplier="1:1" id="qSS-Iz-Fpf"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="20"/>
|
||||||
<color key="tintColor" systemColor="labelColor"/>
|
<color key="tintColor" systemColor="labelColor"/>
|
||||||
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||||||
<state key="normal" title="Button"/>
|
<state key="normal" title="Button" backgroundImage="gold_bg">
|
||||||
|
<color key="titleShadowColor" systemColor="labelColor"/>
|
||||||
|
</state>
|
||||||
<userDefinedRuntimeAttributes>
|
<userDefinedRuntimeAttributes>
|
||||||
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
|
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
|
||||||
<integer key="value" value="13"/>
|
<integer key="value" value="13"/>
|
||||||
</userDefinedRuntimeAttribute>
|
</userDefinedRuntimeAttribute>
|
||||||
|
<userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
|
||||||
</userDefinedRuntimeAttributes>
|
</userDefinedRuntimeAttributes>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="boxTouched:" destination="lH6-xc-QZo" eventType="touchUpInside" id="naK-td-anv"/>
|
<action selector="boxTouched:" destination="lH6-xc-QZo" eventType="touchUpInside" id="naK-td-anv"/>
|
||||||
|
@ -59,13 +71,17 @@
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" secondItem="EVH-3a-OD7" secondAttribute="height" multiplier="1:1" id="ykN-os-vhK"/>
|
<constraint firstAttribute="width" secondItem="EVH-3a-OD7" secondAttribute="height" multiplier="1:1" id="ykN-os-vhK"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="20"/>
|
||||||
<color key="tintColor" systemColor="labelColor"/>
|
<color key="tintColor" systemColor="labelColor"/>
|
||||||
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||||||
<state key="normal" title="Button"/>
|
<state key="normal" title="Button" backgroundImage="gold_bg">
|
||||||
|
<color key="titleShadowColor" systemColor="labelColor"/>
|
||||||
|
</state>
|
||||||
<userDefinedRuntimeAttributes>
|
<userDefinedRuntimeAttributes>
|
||||||
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
|
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
|
||||||
<integer key="value" value="13"/>
|
<integer key="value" value="13"/>
|
||||||
</userDefinedRuntimeAttribute>
|
</userDefinedRuntimeAttribute>
|
||||||
|
<userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
|
||||||
</userDefinedRuntimeAttributes>
|
</userDefinedRuntimeAttributes>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="boxTouched:" destination="lH6-xc-QZo" eventType="touchUpInside" id="VK6-7a-a5y"/>
|
<action selector="boxTouched:" destination="lH6-xc-QZo" eventType="touchUpInside" id="VK6-7a-a5y"/>
|
||||||
|
@ -77,13 +93,17 @@
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" secondItem="Mvd-CL-a0K" secondAttribute="height" multiplier="1:1" id="NE1-vX-r1i"/>
|
<constraint firstAttribute="width" secondItem="Mvd-CL-a0K" secondAttribute="height" multiplier="1:1" id="NE1-vX-r1i"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="20"/>
|
||||||
<color key="tintColor" systemColor="labelColor"/>
|
<color key="tintColor" systemColor="labelColor"/>
|
||||||
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||||||
<state key="normal" title="Button"/>
|
<state key="normal" title="Button" backgroundImage="gold_bg">
|
||||||
|
<color key="titleShadowColor" systemColor="labelColor"/>
|
||||||
|
</state>
|
||||||
<userDefinedRuntimeAttributes>
|
<userDefinedRuntimeAttributes>
|
||||||
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
|
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
|
||||||
<integer key="value" value="13"/>
|
<integer key="value" value="13"/>
|
||||||
</userDefinedRuntimeAttribute>
|
</userDefinedRuntimeAttribute>
|
||||||
|
<userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
|
||||||
</userDefinedRuntimeAttributes>
|
</userDefinedRuntimeAttributes>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="boxTouched:" destination="lH6-xc-QZo" eventType="touchUpInside" id="d8P-Mb-mh4"/>
|
<action selector="boxTouched:" destination="lH6-xc-QZo" eventType="touchUpInside" id="d8P-Mb-mh4"/>
|
||||||
|
@ -95,13 +115,17 @@
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" secondItem="uAg-6d-1Yt" secondAttribute="height" multiplier="1:1" id="efq-Bs-64b"/>
|
<constraint firstAttribute="width" secondItem="uAg-6d-1Yt" secondAttribute="height" multiplier="1:1" id="efq-Bs-64b"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="20"/>
|
||||||
<color key="tintColor" systemColor="labelColor"/>
|
<color key="tintColor" systemColor="labelColor"/>
|
||||||
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||||||
<state key="normal" title="Button"/>
|
<state key="normal" title="Button" backgroundImage="gold_bg">
|
||||||
|
<color key="titleShadowColor" systemColor="labelColor"/>
|
||||||
|
</state>
|
||||||
<userDefinedRuntimeAttributes>
|
<userDefinedRuntimeAttributes>
|
||||||
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
|
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
|
||||||
<integer key="value" value="13"/>
|
<integer key="value" value="13"/>
|
||||||
</userDefinedRuntimeAttribute>
|
</userDefinedRuntimeAttribute>
|
||||||
|
<userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
|
||||||
</userDefinedRuntimeAttributes>
|
</userDefinedRuntimeAttributes>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="boxTouched:" destination="lH6-xc-QZo" eventType="touchUpInside" id="DH1-gT-dwc"/>
|
<action selector="boxTouched:" destination="lH6-xc-QZo" eventType="touchUpInside" id="DH1-gT-dwc"/>
|
||||||
|
@ -113,13 +137,17 @@
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" secondItem="ccz-Sm-d3u" secondAttribute="height" multiplier="1:1" id="Yf4-Ji-cxU"/>
|
<constraint firstAttribute="width" secondItem="ccz-Sm-d3u" secondAttribute="height" multiplier="1:1" id="Yf4-Ji-cxU"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="20"/>
|
||||||
<color key="tintColor" systemColor="labelColor"/>
|
<color key="tintColor" systemColor="labelColor"/>
|
||||||
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||||||
<state key="normal" title="Button"/>
|
<state key="normal" title="Button" backgroundImage="gold_bg">
|
||||||
|
<color key="titleShadowColor" systemColor="labelColor"/>
|
||||||
|
</state>
|
||||||
<userDefinedRuntimeAttributes>
|
<userDefinedRuntimeAttributes>
|
||||||
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
|
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
|
||||||
<integer key="value" value="13"/>
|
<integer key="value" value="13"/>
|
||||||
</userDefinedRuntimeAttribute>
|
</userDefinedRuntimeAttribute>
|
||||||
|
<userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
|
||||||
</userDefinedRuntimeAttributes>
|
</userDefinedRuntimeAttributes>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="boxTouched:" destination="lH6-xc-QZo" eventType="touchUpInside" id="KGB-tw-Bn9"/>
|
<action selector="boxTouched:" destination="lH6-xc-QZo" eventType="touchUpInside" id="KGB-tw-Bn9"/>
|
||||||
|
@ -131,13 +159,17 @@
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" secondItem="r0U-oa-ZK2" secondAttribute="height" multiplier="1:1" id="V7c-zf-CL4"/>
|
<constraint firstAttribute="width" secondItem="r0U-oa-ZK2" secondAttribute="height" multiplier="1:1" id="V7c-zf-CL4"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="20"/>
|
||||||
<color key="tintColor" systemColor="labelColor"/>
|
<color key="tintColor" systemColor="labelColor"/>
|
||||||
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||||||
<state key="normal" title="Button"/>
|
<state key="normal" title="Button" backgroundImage="gold_bg">
|
||||||
|
<color key="titleShadowColor" systemColor="labelColor"/>
|
||||||
|
</state>
|
||||||
<userDefinedRuntimeAttributes>
|
<userDefinedRuntimeAttributes>
|
||||||
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
|
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
|
||||||
<integer key="value" value="13"/>
|
<integer key="value" value="13"/>
|
||||||
</userDefinedRuntimeAttribute>
|
</userDefinedRuntimeAttribute>
|
||||||
|
<userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
|
||||||
</userDefinedRuntimeAttributes>
|
</userDefinedRuntimeAttributes>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="boxTouched:" destination="lH6-xc-QZo" eventType="touchUpInside" id="3dv-g5-RX4"/>
|
<action selector="boxTouched:" destination="lH6-xc-QZo" eventType="touchUpInside" id="3dv-g5-RX4"/>
|
||||||
|
@ -145,22 +177,38 @@
|
||||||
</button>
|
</button>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Player Name" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bvt-ul-0js">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Player Name" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bvt-ul-0js">
|
||||||
<rect key="frame" x="78.5" y="20" width="738" height="39"/>
|
<rect key="frame" x="78.5" y="20" width="738" height="39"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="32"/>
|
<constraints>
|
||||||
<nil key="textColor"/>
|
<constraint firstAttribute="height" constant="39" id="oTE-80-yJO"/>
|
||||||
|
</constraints>
|
||||||
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="24"/>
|
||||||
|
<color key="textColor" red="0.49387886600000003" green="0.41725176629999999" blue="0.30765561959999999" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Labor Points: " textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3fl-FP-psQ">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Labor Points: " textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3fl-FP-psQ">
|
||||||
<rect key="frame" x="78.5" y="67" width="738" height="29"/>
|
<rect key="frame" x="78.5" y="67" width="738" height="29"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="24"/>
|
<constraints>
|
||||||
<nil key="textColor"/>
|
<constraint firstAttribute="height" constant="29" id="H9Z-TR-qPc"/>
|
||||||
|
</constraints>
|
||||||
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="18"/>
|
||||||
|
<color key="textColor" red="0.49387886600000003" green="0.41725176629999999" blue="0.30765561959999999" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fKV-Bd-yYj">
|
||||||
|
<rect key="frame" x="78.5" y="104" width="738" height="29"/>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstAttribute="height" constant="29" id="UZO-Q8-RAg"/>
|
||||||
|
</constraints>
|
||||||
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="18"/>
|
||||||
|
<color key="textColor" red="0.49387886600000003" green="0.41725176629999999" blue="0.30765561959999999" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
</subviews>
|
</subviews>
|
||||||
<viewLayoutGuide key="safeArea" id="7Q0-4q-nkf"/>
|
<viewLayoutGuide key="safeArea" id="7Q0-4q-nkf"/>
|
||||||
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
<color key="backgroundColor" red="0.89823614689999998" green="0.75887154649999999" blue="0.55954489519999995" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstItem="ccz-Sm-d3u" firstAttribute="top" secondItem="Mvd-CL-a0K" secondAttribute="top" id="3m5-6R-EeN"/>
|
<constraint firstItem="ccz-Sm-d3u" firstAttribute="top" secondItem="Mvd-CL-a0K" secondAttribute="top" id="3m5-6R-EeN"/>
|
||||||
<constraint firstItem="3fl-FP-psQ" firstAttribute="trailing" secondItem="bvt-ul-0js" secondAttribute="trailing" id="4jD-fJ-Tl6"/>
|
<constraint firstItem="3fl-FP-psQ" firstAttribute="trailing" secondItem="bvt-ul-0js" secondAttribute="trailing" id="4jD-fJ-Tl6"/>
|
||||||
|
<constraint firstItem="fKV-Bd-yYj" firstAttribute="trailing" secondItem="bvt-ul-0js" secondAttribute="trailing" id="7ER-44-emI"/>
|
||||||
<constraint firstItem="fVC-Au-OTH" firstAttribute="centerX" secondItem="FHm-rp-Uvm" secondAttribute="centerX" id="9hK-nO-bS3"/>
|
<constraint firstItem="fVC-Au-OTH" firstAttribute="centerX" secondItem="FHm-rp-Uvm" secondAttribute="centerX" id="9hK-nO-bS3"/>
|
||||||
<constraint firstItem="yCi-WS-j56" firstAttribute="leading" secondItem="EVH-3a-OD7" secondAttribute="trailing" constant="8" symbolic="YES" id="BQM-U7-vE7"/>
|
<constraint firstItem="yCi-WS-j56" firstAttribute="leading" secondItem="EVH-3a-OD7" secondAttribute="trailing" constant="8" symbolic="YES" id="BQM-U7-vE7"/>
|
||||||
<constraint firstItem="fVC-Au-OTH" firstAttribute="top" secondItem="Mvd-CL-a0K" secondAttribute="top" id="CtQ-VM-xlk"/>
|
<constraint firstItem="fVC-Au-OTH" firstAttribute="top" secondItem="Mvd-CL-a0K" secondAttribute="top" id="CtQ-VM-xlk"/>
|
||||||
|
@ -174,6 +222,7 @@
|
||||||
<constraint firstItem="ccz-Sm-d3u" firstAttribute="bottom" secondItem="Mvd-CL-a0K" secondAttribute="bottom" id="Roh-0U-zKv"/>
|
<constraint firstItem="ccz-Sm-d3u" firstAttribute="bottom" secondItem="Mvd-CL-a0K" secondAttribute="bottom" id="Roh-0U-zKv"/>
|
||||||
<constraint firstItem="EVH-3a-OD7" firstAttribute="bottom" secondItem="Mvd-CL-a0K" secondAttribute="bottom" id="TrL-6I-7ds"/>
|
<constraint firstItem="EVH-3a-OD7" firstAttribute="bottom" secondItem="Mvd-CL-a0K" secondAttribute="bottom" id="TrL-6I-7ds"/>
|
||||||
<constraint firstItem="yCi-WS-j56" firstAttribute="bottom" secondItem="Mvd-CL-a0K" secondAttribute="bottom" id="U1i-Bv-N5b"/>
|
<constraint firstItem="yCi-WS-j56" firstAttribute="bottom" secondItem="Mvd-CL-a0K" secondAttribute="bottom" id="U1i-Bv-N5b"/>
|
||||||
|
<constraint firstItem="fKV-Bd-yYj" firstAttribute="leading" secondItem="bvt-ul-0js" secondAttribute="leading" id="WDV-Vh-eOI"/>
|
||||||
<constraint firstItem="r0U-oa-ZK2" firstAttribute="trailing" secondItem="bvt-ul-0js" secondAttribute="trailing" id="YOa-r3-dtK"/>
|
<constraint firstItem="r0U-oa-ZK2" firstAttribute="trailing" secondItem="bvt-ul-0js" secondAttribute="trailing" id="YOa-r3-dtK"/>
|
||||||
<constraint firstItem="yCi-WS-j56" firstAttribute="top" secondItem="Mvd-CL-a0K" secondAttribute="top" id="agv-zT-jdw"/>
|
<constraint firstItem="yCi-WS-j56" firstAttribute="top" secondItem="Mvd-CL-a0K" secondAttribute="top" id="agv-zT-jdw"/>
|
||||||
<constraint firstItem="EVH-3a-OD7" firstAttribute="leading" secondItem="Mvd-CL-a0K" secondAttribute="trailing" constant="8" symbolic="YES" id="cLV-3c-CDQ"/>
|
<constraint firstItem="EVH-3a-OD7" firstAttribute="leading" secondItem="Mvd-CL-a0K" secondAttribute="trailing" constant="8" symbolic="YES" id="cLV-3c-CDQ"/>
|
||||||
|
@ -184,6 +233,7 @@
|
||||||
<constraint firstItem="ccz-Sm-d3u" firstAttribute="leading" secondItem="uAg-6d-1Yt" secondAttribute="trailing" constant="8" symbolic="YES" id="qkA-r1-1Rh"/>
|
<constraint firstItem="ccz-Sm-d3u" firstAttribute="leading" secondItem="uAg-6d-1Yt" secondAttribute="trailing" constant="8" symbolic="YES" id="qkA-r1-1Rh"/>
|
||||||
<constraint firstItem="Mvd-CL-a0K" firstAttribute="leading" secondItem="bvt-ul-0js" secondAttribute="leading" id="r0H-f6-qrO"/>
|
<constraint firstItem="Mvd-CL-a0K" firstAttribute="leading" secondItem="bvt-ul-0js" secondAttribute="leading" id="r0H-f6-qrO"/>
|
||||||
<constraint firstItem="3fl-FP-psQ" firstAttribute="top" secondItem="bvt-ul-0js" secondAttribute="bottom" constant="8" symbolic="YES" id="tnq-vN-4yf"/>
|
<constraint firstItem="3fl-FP-psQ" firstAttribute="top" secondItem="bvt-ul-0js" secondAttribute="bottom" constant="8" symbolic="YES" id="tnq-vN-4yf"/>
|
||||||
|
<constraint firstItem="fKV-Bd-yYj" firstAttribute="top" secondItem="3fl-FP-psQ" secondAttribute="bottom" constant="8" symbolic="YES" id="vlp-ob-Qom"/>
|
||||||
<constraint firstItem="uAg-6d-1Yt" firstAttribute="bottom" secondItem="Mvd-CL-a0K" secondAttribute="bottom" id="yWr-eR-HfA"/>
|
<constraint firstItem="uAg-6d-1Yt" firstAttribute="bottom" secondItem="Mvd-CL-a0K" secondAttribute="bottom" id="yWr-eR-HfA"/>
|
||||||
<constraint firstItem="r0U-oa-ZK2" firstAttribute="top" secondItem="Mvd-CL-a0K" secondAttribute="top" id="zOd-kz-Vbm"/>
|
<constraint firstItem="r0U-oa-ZK2" firstAttribute="top" secondItem="Mvd-CL-a0K" secondAttribute="top" id="zOd-kz-Vbm"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
|
@ -192,6 +242,7 @@
|
||||||
<connections>
|
<connections>
|
||||||
<outlet property="LbrPointsLbl" destination="3fl-FP-psQ" id="klD-Hc-Sm0"/>
|
<outlet property="LbrPointsLbl" destination="3fl-FP-psQ" id="klD-Hc-Sm0"/>
|
||||||
<outlet property="PlayerNameLabel" destination="bvt-ul-0js" id="icq-bF-5wc"/>
|
<outlet property="PlayerNameLabel" destination="bvt-ul-0js" id="icq-bF-5wc"/>
|
||||||
|
<outlet property="RsrcPointsLbl" destination="fKV-Bd-yYj" id="i8c-VG-kDo"/>
|
||||||
<outletCollection property="AllResourceSlots" destination="Mvd-CL-a0K" collectionClass="NSMutableArray" id="KmD-tR-lW0"/>
|
<outletCollection property="AllResourceSlots" destination="Mvd-CL-a0K" collectionClass="NSMutableArray" id="KmD-tR-lW0"/>
|
||||||
<outletCollection property="AllResourceSlots" destination="EVH-3a-OD7" collectionClass="NSMutableArray" id="wFv-6s-dfz"/>
|
<outletCollection property="AllResourceSlots" destination="EVH-3a-OD7" collectionClass="NSMutableArray" id="wFv-6s-dfz"/>
|
||||||
<outletCollection property="AllResourceSlots" destination="yCi-WS-j56" collectionClass="NSMutableArray" id="xej-HY-42n"/>
|
<outletCollection property="AllResourceSlots" destination="yCi-WS-j56" collectionClass="NSMutableArray" id="xej-HY-42n"/>
|
||||||
|
@ -213,17 +264,25 @@
|
||||||
<rect key="frame" x="0.0" y="0.0" width="896" height="414"/>
|
<rect key="frame" x="0.0" y="0.0" width="896" height="414"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
|
<imageView clipsSubviews="YES" userInteractionEnabled="NO" alpha="0.5" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="sand_bg" translatesAutoresizingMaskIntoConstraints="NO" id="1fI-Ix-EbP">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="896" height="414"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
</imageView>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Player Name" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="U8j-tB-NkG">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Player Name" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="U8j-tB-NkG">
|
||||||
<rect key="frame" x="60" y="20" width="776" height="57.5"/>
|
<rect key="frame" x="60" y="20" width="776" height="57.5"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="48"/>
|
<constraints>
|
||||||
<nil key="textColor"/>
|
<constraint firstAttribute="height" constant="57.5" id="n6g-b4-wUO"/>
|
||||||
|
</constraints>
|
||||||
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="40"/>
|
||||||
|
<color key="textColor" red="0.49387886600000003" green="0.41725176629999999" blue="0.30765561959999999" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0DZ-7G-LiN">
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0DZ-7G-LiN">
|
||||||
<rect key="frame" x="60" y="181" width="776" height="52.5"/>
|
<rect key="frame" x="60" y="178.5" width="776" height="57.5"/>
|
||||||
|
<color key="tintColor" red="0.24230970439999999" green="0.53998872419999999" blue="0.14532085680000001" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
<state key="normal" title="Button"/>
|
<state key="normal" title="Button"/>
|
||||||
<buttonConfiguration key="configuration" style="plain" title="Begin Turn">
|
<buttonConfiguration key="configuration" style="plain" title="Begin Turn">
|
||||||
<fontDescription key="titleFontDescription" type="system" pointSize="32"/>
|
<fontDescription key="titleFontDescription" name="Papyrus" family="Papyrus" pointSize="28"/>
|
||||||
</buttonConfiguration>
|
</buttonConfiguration>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="BeginTurnButton:" destination="Wsp-yj-oey" eventType="touchUpInside" id="fHE-ig-2Mv"/>
|
<action selector="BeginTurnButton:" destination="Wsp-yj-oey" eventType="touchUpInside" id="fHE-ig-2Mv"/>
|
||||||
|
@ -231,7 +290,7 @@
|
||||||
</button>
|
</button>
|
||||||
</subviews>
|
</subviews>
|
||||||
<viewLayoutGuide key="safeArea" id="8oX-yO-iP4"/>
|
<viewLayoutGuide key="safeArea" id="8oX-yO-iP4"/>
|
||||||
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
<color key="backgroundColor" red="0.89823614689999998" green="0.75887154649999999" blue="0.55954489519999995" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstItem="0DZ-7G-LiN" firstAttribute="leading" secondItem="U8j-tB-NkG" secondAttribute="leading" id="B9G-KJ-6h4"/>
|
<constraint firstItem="0DZ-7G-LiN" firstAttribute="leading" secondItem="U8j-tB-NkG" secondAttribute="leading" id="B9G-KJ-6h4"/>
|
||||||
<constraint firstItem="0DZ-7G-LiN" firstAttribute="centerY" secondItem="rIc-4v-wBd" secondAttribute="centerY" id="PUV-fC-smP"/>
|
<constraint firstItem="0DZ-7G-LiN" firstAttribute="centerY" secondItem="rIc-4v-wBd" secondAttribute="centerY" id="PUV-fC-smP"/>
|
||||||
|
@ -242,6 +301,7 @@
|
||||||
</constraints>
|
</constraints>
|
||||||
</view>
|
</view>
|
||||||
<connections>
|
<connections>
|
||||||
|
<outlet property="BeginTurnBtn" destination="0DZ-7G-LiN" id="LwR-tt-qxN"/>
|
||||||
<outlet property="playerNameLabel" destination="U8j-tB-NkG" id="PJh-uu-M3G"/>
|
<outlet property="playerNameLabel" destination="U8j-tB-NkG" id="PJh-uu-M3G"/>
|
||||||
</connections>
|
</connections>
|
||||||
</viewController>
|
</viewController>
|
||||||
|
@ -257,17 +317,25 @@
|
||||||
<rect key="frame" x="0.0" y="0.0" width="896" height="414"/>
|
<rect key="frame" x="0.0" y="0.0" width="896" height="414"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Game Title Pending" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lpp-L0-Xue">
|
<imageView clipsSubviews="YES" userInteractionEnabled="NO" alpha="0.5" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="sand_bg" translatesAutoresizingMaskIntoConstraints="NO" id="lB5-Yc-sQj">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="896" height="414"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
</imageView>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Devour & Drought" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lpp-L0-Xue">
|
||||||
<rect key="frame" x="224" y="20" width="448" height="39"/>
|
<rect key="frame" x="224" y="20" width="448" height="39"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="32"/>
|
<constraints>
|
||||||
<nil key="textColor"/>
|
<constraint firstAttribute="height" constant="39" id="XsS-r8-Be3"/>
|
||||||
|
</constraints>
|
||||||
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="28"/>
|
||||||
|
<color key="textColor" red="0.49387886600000003" green="0.41725176629999999" blue="0.30765561959999999" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kWw-vs-xeH">
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kWw-vs-xeH">
|
||||||
<rect key="frame" x="224" y="350" width="448" height="43"/>
|
<rect key="frame" x="224" y="350" width="448" height="43"/>
|
||||||
|
<color key="tintColor" red="0.24230970439999999" green="0.53998872419999999" blue="0.14532085680000001" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
<state key="normal" title="Button"/>
|
<state key="normal" title="Button"/>
|
||||||
<buttonConfiguration key="configuration" style="plain" title="Start Game">
|
<buttonConfiguration key="configuration" style="plain" title="Start Game">
|
||||||
<fontDescription key="titleFontDescription" type="system" pointSize="24"/>
|
<fontDescription key="titleFontDescription" name="Papyrus" family="Papyrus" pointSize="22"/>
|
||||||
</buttonConfiguration>
|
</buttonConfiguration>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="StartGame:" destination="AEX-uU-vJw" eventType="touchUpInside" id="Q54-L1-3du"/>
|
<action selector="StartGame:" destination="AEX-uU-vJw" eventType="touchUpInside" id="Q54-L1-3du"/>
|
||||||
|
@ -279,7 +347,7 @@
|
||||||
</pickerView>
|
</pickerView>
|
||||||
</subviews>
|
</subviews>
|
||||||
<viewLayoutGuide key="safeArea" id="dFz-As-aVm"/>
|
<viewLayoutGuide key="safeArea" id="dFz-As-aVm"/>
|
||||||
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
<color key="backgroundColor" red="0.89823614689999998" green="0.75887154649999999" blue="0.55954489519999995" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstItem="kWw-vs-xeH" firstAttribute="top" secondItem="Gmu-Lf-iBW" secondAttribute="bottom" constant="62" id="1ih-D4-nFv"/>
|
<constraint firstItem="kWw-vs-xeH" firstAttribute="top" secondItem="Gmu-Lf-iBW" secondAttribute="bottom" constant="62" id="1ih-D4-nFv"/>
|
||||||
<constraint firstItem="Gmu-Lf-iBW" firstAttribute="width" secondItem="8EJ-sl-H0f" secondAttribute="width" multiplier="0.5" id="AiL-KS-cKb"/>
|
<constraint firstItem="Gmu-Lf-iBW" firstAttribute="width" secondItem="8EJ-sl-H0f" secondAttribute="width" multiplier="0.5" id="AiL-KS-cKb"/>
|
||||||
|
@ -298,6 +366,7 @@
|
||||||
</view>
|
</view>
|
||||||
<navigationItem key="navigationItem" id="jDd-pz-yuT"/>
|
<navigationItem key="navigationItem" id="jDd-pz-yuT"/>
|
||||||
<connections>
|
<connections>
|
||||||
|
<outlet property="StartBtn" destination="kWw-vs-xeH" id="trP-Fn-npb"/>
|
||||||
<outlet property="playerCountPicker" destination="Gmu-Lf-iBW" id="Sfs-tk-V2n"/>
|
<outlet property="playerCountPicker" destination="Gmu-Lf-iBW" id="Sfs-tk-V2n"/>
|
||||||
</connections>
|
</connections>
|
||||||
</viewController>
|
</viewController>
|
||||||
|
@ -313,25 +382,32 @@
|
||||||
<rect key="frame" x="0.0" y="0.0" width="896" height="414"/>
|
<rect key="frame" x="0.0" y="0.0" width="896" height="414"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
|
<imageView clipsSubviews="YES" userInteractionEnabled="NO" alpha="0.5" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="sand_bg" translatesAutoresizingMaskIntoConstraints="NO" id="5SA-e9-Ili">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="896" height="414"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
</imageView>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Player 1 Name:" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Jzr-69-Csw">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Player 1 Name:" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Jzr-69-Csw">
|
||||||
<rect key="frame" x="64" y="20" width="768" height="39"/>
|
<rect key="frame" x="64" y="20" width="768" height="43.5"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="32"/>
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="28"/>
|
||||||
<nil key="textColor"/>
|
<color key="textColor" red="0.49387886600000003" green="0.41725176629999999" blue="0.30765561959999999" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Player Name" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="gbe-AO-z28">
|
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Player Name" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="gbe-AO-z28">
|
||||||
<rect key="frame" x="224" y="67" width="448" height="38.5"/>
|
<rect key="frame" x="224" y="71.5" width="448" height="37.5"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="24"/>
|
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
|
<color key="textColor" red="0.49387886600000003" green="0.41725176629999999" blue="0.30765561959999999" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="18"/>
|
||||||
<textInputTraits key="textInputTraits" autocapitalizationType="words" returnKeyType="next"/>
|
<textInputTraits key="textInputTraits" autocapitalizationType="words" returnKeyType="next"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="PlayerNextBtn:" destination="rYK-0k-2EP" eventType="primaryActionTriggered" id="qB6-AJ-qjV"/>
|
<action selector="PlayerNextBtn:" destination="rYK-0k-2EP" eventType="primaryActionTriggered" id="qB6-AJ-qjV"/>
|
||||||
</connections>
|
</connections>
|
||||||
</textField>
|
</textField>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0fD-M8-Yvx">
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0fD-M8-Yvx">
|
||||||
<rect key="frame" x="224" y="113.5" width="448" height="43"/>
|
<rect key="frame" x="224" y="117" width="448" height="48"/>
|
||||||
|
<color key="tintColor" red="0.24230970439999999" green="0.53998872419999999" blue="0.14532085680000001" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
<state key="normal" title="Button"/>
|
<state key="normal" title="Button"/>
|
||||||
<buttonConfiguration key="configuration" style="plain" title="Next">
|
<buttonConfiguration key="configuration" style="plain" title="Next">
|
||||||
<fontDescription key="titleFontDescription" type="system" pointSize="24"/>
|
<fontDescription key="titleFontDescription" name="Papyrus" family="Papyrus" pointSize="22"/>
|
||||||
</buttonConfiguration>
|
</buttonConfiguration>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="PlayerNextBtn:" destination="rYK-0k-2EP" eventType="touchUpInside" id="P49-Ff-QC1"/>
|
<action selector="PlayerNextBtn:" destination="rYK-0k-2EP" eventType="touchUpInside" id="P49-Ff-QC1"/>
|
||||||
|
@ -339,7 +415,7 @@
|
||||||
</button>
|
</button>
|
||||||
</subviews>
|
</subviews>
|
||||||
<viewLayoutGuide key="safeArea" id="eWX-kt-cS0"/>
|
<viewLayoutGuide key="safeArea" id="eWX-kt-cS0"/>
|
||||||
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
<color key="backgroundColor" red="0.89823614689999998" green="0.75887154649999999" blue="0.55954489519999995" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstItem="Jzr-69-Csw" firstAttribute="top" secondItem="eWX-kt-cS0" secondAttribute="top" constant="20" id="6ig-Xt-cF3"/>
|
<constraint firstItem="Jzr-69-Csw" firstAttribute="top" secondItem="eWX-kt-cS0" secondAttribute="top" constant="20" id="6ig-Xt-cF3"/>
|
||||||
<constraint firstItem="eWX-kt-cS0" firstAttribute="trailing" secondItem="Jzr-69-Csw" secondAttribute="trailing" constant="20" id="Jrj-4E-03o"/>
|
<constraint firstItem="eWX-kt-cS0" firstAttribute="trailing" secondItem="Jzr-69-Csw" secondAttribute="trailing" constant="20" id="Jrj-4E-03o"/>
|
||||||
|
@ -354,6 +430,7 @@
|
||||||
</view>
|
</view>
|
||||||
<navigationItem key="navigationItem" id="BkW-np-Q19"/>
|
<navigationItem key="navigationItem" id="BkW-np-Q19"/>
|
||||||
<connections>
|
<connections>
|
||||||
|
<outlet property="NextBtn" destination="0fD-M8-Yvx" id="DPB-72-ZnP"/>
|
||||||
<outlet property="PlayerName" destination="Jzr-69-Csw" id="9nt-7R-L57"/>
|
<outlet property="PlayerName" destination="Jzr-69-Csw" id="9nt-7R-L57"/>
|
||||||
<outlet property="PlayerNameField" destination="gbe-AO-z28" id="sFR-Tg-4KI"/>
|
<outlet property="PlayerNameField" destination="gbe-AO-z28" id="sFR-Tg-4KI"/>
|
||||||
</connections>
|
</connections>
|
||||||
|
@ -371,6 +448,7 @@
|
||||||
<rect key="frame" x="0.0" y="0.0" width="414" height="49"/>
|
<rect key="frame" x="0.0" y="0.0" width="414" height="49"/>
|
||||||
<autoresizingMask key="autoresizingMask"/>
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
|
<color key="selectedImageTintColor" red="0.24230970439999999" green="0.53998872419999999" blue="0.14532085680000001" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
</tabBar>
|
</tabBar>
|
||||||
<connections>
|
<connections>
|
||||||
<segue destination="BYZ-38-t0r" kind="relationship" relationship="viewControllers" id="isI-po-gfN"/>
|
<segue destination="BYZ-38-t0r" kind="relationship" relationship="viewControllers" id="isI-po-gfN"/>
|
||||||
|
@ -389,71 +467,42 @@
|
||||||
<rect key="frame" x="0.0" y="0.0" width="896" height="414"/>
|
<rect key="frame" x="0.0" y="0.0" width="896" height="414"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Oil" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Jc1-hh-J2g">
|
<imageView clipsSubviews="YES" userInteractionEnabled="NO" alpha="0.5" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="sand_bg" translatesAutoresizingMaskIntoConstraints="NO" id="Q5K-wa-jvC">
|
||||||
<rect key="frame" x="213.5" y="80.5" width="100" height="21"/>
|
<rect key="frame" x="0.0" y="0.0" width="896" height="414"/>
|
||||||
|
</imageView>
|
||||||
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="2fg-V2-IcO">
|
||||||
|
<rect key="frame" x="60" y="308.5" width="776" height="35.5"/>
|
||||||
|
<color key="tintColor" red="0.24230970439999999" green="0.53998872419999999" blue="0.14532085680000001" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
|
<state key="normal" title="Button"/>
|
||||||
|
<buttonConfiguration key="configuration" style="plain" title="End Turn">
|
||||||
|
<fontDescription key="titleFontDescription" name="Papyrus" family="Papyrus" pointSize="24"/>
|
||||||
|
</buttonConfiguration>
|
||||||
|
<connections>
|
||||||
|
<action selector="EndTurn:" destination="BYZ-38-t0r" eventType="touchUpInside" id="Utb-Hp-zFk"/>
|
||||||
|
</connections>
|
||||||
|
</button>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Player Name" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="igF-vj-z2T">
|
||||||
|
<rect key="frame" x="60" y="20" width="776" height="31.5"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" constant="100" id="pPj-dJ-uLh"/>
|
<constraint firstAttribute="height" constant="31.5" id="KUe-0M-bq1"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="24"/>
|
||||||
<nil key="textColor"/>
|
<color key="textColor" red="0.49387886600000003" green="0.41725176629999999" blue="0.30765561959999999" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
<nil key="highlightedColor"/>
|
|
||||||
</label>
|
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Water" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QpL-0D-xz4">
|
|
||||||
<rect key="frame" x="213.5" y="109.5" width="100" height="21"/>
|
|
||||||
<constraints>
|
|
||||||
<constraint firstAttribute="width" constant="100" id="uQN-V1-UyI"/>
|
|
||||||
</constraints>
|
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
||||||
<nil key="textColor"/>
|
|
||||||
<nil key="highlightedColor"/>
|
|
||||||
</label>
|
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Wheat" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jQV-KZ-vDo">
|
|
||||||
<rect key="frame" x="213.5" y="138.5" width="100" height="21"/>
|
|
||||||
<constraints>
|
|
||||||
<constraint firstAttribute="width" constant="100" id="Ern-rx-gQk"/>
|
|
||||||
</constraints>
|
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
||||||
<nil key="textColor"/>
|
|
||||||
<nil key="highlightedColor"/>
|
|
||||||
</label>
|
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Corn" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="x7O-gB-efD">
|
|
||||||
<rect key="frame" x="213.5" y="167.5" width="100" height="21"/>
|
|
||||||
<constraints>
|
|
||||||
<constraint firstAttribute="width" constant="100" id="BMi-Ig-XfB"/>
|
|
||||||
</constraints>
|
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
||||||
<nil key="textColor"/>
|
|
||||||
<nil key="highlightedColor"/>
|
|
||||||
</label>
|
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Fish" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ibS-2f-qzP">
|
|
||||||
<rect key="frame" x="213.5" y="196.5" width="100" height="21"/>
|
|
||||||
<constraints>
|
|
||||||
<constraint firstAttribute="width" constant="100" id="Hvq-iC-1zH"/>
|
|
||||||
</constraints>
|
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
||||||
<nil key="textColor"/>
|
|
||||||
<nil key="highlightedColor"/>
|
|
||||||
</label>
|
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Cattle" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zHI-a1-QLR">
|
|
||||||
<rect key="frame" x="213.5" y="225.5" width="100" height="21"/>
|
|
||||||
<constraints>
|
|
||||||
<constraint firstAttribute="width" constant="100" id="Eyq-RW-LrO"/>
|
|
||||||
</constraints>
|
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
||||||
<nil key="textColor"/>
|
|
||||||
<nil key="highlightedColor"/>
|
|
||||||
</label>
|
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Medallions" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GTa-J4-o2r">
|
|
||||||
<rect key="frame" x="213.5" y="254.5" width="100" height="21"/>
|
|
||||||
<constraints>
|
|
||||||
<constraint firstAttribute="width" constant="100" id="FBW-a0-FRP"/>
|
|
||||||
</constraints>
|
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
||||||
<nil key="textColor"/>
|
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
|
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="C7P-4l-Zrn">
|
||||||
|
<rect key="frame" x="252.5" y="74.5" width="391" height="211"/>
|
||||||
|
<subviews>
|
||||||
|
<imageView clipsSubviews="YES" userInteractionEnabled="NO" alpha="0.25" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="gold_lbg" translatesAutoresizingMaskIntoConstraints="NO" id="QRY-dq-dYN">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="391" height="210"/>
|
||||||
|
<userDefinedRuntimeAttributes>
|
||||||
|
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
|
||||||
|
<integer key="value" value="10"/>
|
||||||
|
</userDefinedRuntimeAttribute>
|
||||||
|
</userDefinedRuntimeAttributes>
|
||||||
|
</imageView>
|
||||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="🪔🪔🪔🪔🪔🪔🪔🪔🪔🪔☀️" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hxf-cQ-vPf">
|
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="🪔🪔🪔🪔🪔🪔🪔🪔🪔🪔☀️" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hxf-cQ-vPf">
|
||||||
<rect key="frame" x="321.5" y="80.5" width="253" height="21"/>
|
<rect key="frame" x="118" y="8.5" width="253" height="21"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" secondItem="hxf-cQ-vPf" secondAttribute="height" multiplier="253:21" id="1nl-qc-X8d"/>
|
<constraint firstAttribute="width" secondItem="hxf-cQ-vPf" secondAttribute="height" multiplier="253:21" id="1nl-qc-X8d"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
|
@ -461,126 +510,179 @@
|
||||||
<nil key="textColor"/>
|
<nil key="textColor"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="💧💧💧💧💧💧💧💧💧💧☀️" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sOg-y9-tjU">
|
|
||||||
<rect key="frame" x="321.5" y="109.5" width="253" height="21"/>
|
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
||||||
<nil key="textColor"/>
|
|
||||||
<nil key="highlightedColor"/>
|
|
||||||
</label>
|
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="🌾🌾🌾🌾🌾🌾🌾🌾🌾🌾☀️" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PJO-Z2-s09">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="🌾🌾🌾🌾🌾🌾🌾🌾🌾🌾☀️" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PJO-Z2-s09">
|
||||||
<rect key="frame" x="321.5" y="138.5" width="253" height="21"/>
|
<rect key="frame" x="118" y="67.5" width="253" height="21"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||||
<nil key="textColor"/>
|
<nil key="textColor"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="🌽🌽🌽🌽🌽🌽🌽🌽🌽🌽☀️" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="z71-zT-Rbc">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="🌽🌽🌽🌽🌽🌽🌽🌽🌽🌽☀️" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="z71-zT-Rbc">
|
||||||
<rect key="frame" x="321.5" y="167.5" width="253" height="21"/>
|
<rect key="frame" x="118" y="97.5" width="253" height="21"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||||
<nil key="textColor"/>
|
<nil key="textColor"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="🐟🐟🐟🐟🐟🐟🐟🐟🐟🐟☀️" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Z4M-gg-ETy">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="🐟🐟🐟🐟🐟🐟🐟🐟🐟🐟☀️" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Z4M-gg-ETy">
|
||||||
<rect key="frame" x="321.5" y="196.5" width="253" height="21"/>
|
<rect key="frame" x="118" y="128.5" width="253" height="21"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||||
<nil key="textColor"/>
|
<nil key="textColor"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="🐂🐂🐂🐂🐂🐂🐂🐂🐂🐂☀️" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6z8-Zk-lAe">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="🐂🐂🐂🐂🐂🐂🐂🐂🐂🐂☀️" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6z8-Zk-lAe">
|
||||||
<rect key="frame" x="321.5" y="225.5" width="253" height="21"/>
|
<rect key="frame" x="118" y="158.5" width="253" height="21"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||||
<nil key="textColor"/>
|
<nil key="textColor"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="☀️☀️☀️☀️☀️☀️☀️☀️☀️☀️" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Cu5-bm-nOx">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="☀️☀️☀️☀️☀️☀️☀️☀️☀️☀️" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Cu5-bm-nOx">
|
||||||
<rect key="frame" x="321.5" y="254.5" width="253" height="21"/>
|
<rect key="frame" x="118" y="188.5" width="253" height="21"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||||
<nil key="textColor"/>
|
<nil key="textColor"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="2fg-V2-IcO">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Oil" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Jc1-hh-J2g">
|
||||||
<rect key="frame" x="60" y="308.5" width="776" height="35.5"/>
|
<rect key="frame" x="0.0" y="8" width="100" height="22"/>
|
||||||
<state key="normal" title="Button"/>
|
<constraints>
|
||||||
<buttonConfiguration key="configuration" style="plain" title="End Turn">
|
<constraint firstAttribute="width" constant="100" id="pPj-dJ-uLh"/>
|
||||||
<fontDescription key="titleFontDescription" type="system" pointSize="18"/>
|
</constraints>
|
||||||
</buttonConfiguration>
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="14"/>
|
||||||
<connections>
|
<nil key="textColor"/>
|
||||||
<action selector="EndTurn:" destination="BYZ-38-t0r" eventType="touchUpInside" id="Utb-Hp-zFk"/>
|
<nil key="highlightedColor"/>
|
||||||
</connections>
|
</label>
|
||||||
</button>
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Water" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QpL-0D-xz4">
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Player Name" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="igF-vj-z2T">
|
<rect key="frame" x="0.0" y="37" width="100" height="22"/>
|
||||||
<rect key="frame" x="60" y="20" width="776" height="31.5"/>
|
<constraints>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="26"/>
|
<constraint firstAttribute="width" constant="100" id="uQN-V1-UyI"/>
|
||||||
|
</constraints>
|
||||||
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="14"/>
|
||||||
|
<nil key="textColor"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Wheat" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jQV-KZ-vDo">
|
||||||
|
<rect key="frame" x="0.0" y="67" width="100" height="22"/>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstAttribute="width" constant="100" id="Ern-rx-gQk"/>
|
||||||
|
</constraints>
|
||||||
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="14"/>
|
||||||
|
<nil key="textColor"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Corn" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="x7O-gB-efD">
|
||||||
|
<rect key="frame" x="0.0" y="97" width="100" height="22"/>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstAttribute="width" constant="100" id="BMi-Ig-XfB"/>
|
||||||
|
</constraints>
|
||||||
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="14"/>
|
||||||
|
<nil key="textColor"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Fish" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ibS-2f-qzP">
|
||||||
|
<rect key="frame" x="0.0" y="128" width="100" height="22"/>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstAttribute="width" constant="100" id="Hvq-iC-1zH"/>
|
||||||
|
</constraints>
|
||||||
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="14"/>
|
||||||
|
<nil key="textColor"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Cattle" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zHI-a1-QLR">
|
||||||
|
<rect key="frame" x="0.0" y="158" width="100" height="22"/>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstAttribute="width" constant="100" id="Eyq-RW-LrO"/>
|
||||||
|
</constraints>
|
||||||
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="14"/>
|
||||||
|
<nil key="textColor"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Medallions" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GTa-J4-o2r">
|
||||||
|
<rect key="frame" x="0.0" y="188" width="100" height="22"/>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstAttribute="width" constant="100" id="FBW-a0-FRP"/>
|
||||||
|
</constraints>
|
||||||
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="14"/>
|
||||||
|
<nil key="textColor"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="💧💧💧💧💧💧💧💧💧💧☀️" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sOg-y9-tjU">
|
||||||
|
<rect key="frame" x="118" y="37.5" width="253" height="21"/>
|
||||||
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||||
<nil key="textColor"/>
|
<nil key="textColor"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
</subviews>
|
</subviews>
|
||||||
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
|
<color key="backgroundColor" red="0.73725497719999999" green="0.61568629740000003" blue="0.2901961207" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
<constraints>
|
||||||
|
<constraint firstItem="jQV-KZ-vDo" firstAttribute="leading" secondItem="Jc1-hh-J2g" secondAttribute="leading" id="023-Gy-aBk"/>
|
||||||
|
<constraint firstItem="z71-zT-Rbc" firstAttribute="leading" secondItem="x7O-gB-efD" secondAttribute="trailing" constant="18" id="1EW-vs-imU"/>
|
||||||
|
<constraint firstItem="z71-zT-Rbc" firstAttribute="trailing" secondItem="hxf-cQ-vPf" secondAttribute="trailing" id="2Si-mb-8bX"/>
|
||||||
|
<constraint firstItem="Cu5-bm-nOx" firstAttribute="leading" secondItem="GTa-J4-o2r" secondAttribute="trailing" constant="18" id="2zT-6M-fX8"/>
|
||||||
|
<constraint firstItem="Cu5-bm-nOx" firstAttribute="trailing" secondItem="hxf-cQ-vPf" secondAttribute="trailing" id="58Z-2Y-ySD"/>
|
||||||
|
<constraint firstAttribute="trailing" secondItem="QRY-dq-dYN" secondAttribute="trailing" id="5Fd-bZ-h1y"/>
|
||||||
|
<constraint firstItem="PJO-Z2-s09" firstAttribute="leading" secondItem="jQV-KZ-vDo" secondAttribute="trailing" constant="18" id="DHf-bA-Zgi"/>
|
||||||
|
<constraint firstItem="hxf-cQ-vPf" firstAttribute="centerY" secondItem="Jc1-hh-J2g" secondAttribute="centerY" id="FoY-ja-T41"/>
|
||||||
|
<constraint firstItem="GTa-J4-o2r" firstAttribute="leading" secondItem="Jc1-hh-J2g" secondAttribute="leading" id="Fym-AV-VbY"/>
|
||||||
|
<constraint firstItem="PJO-Z2-s09" firstAttribute="centerY" secondItem="jQV-KZ-vDo" secondAttribute="centerY" id="HIl-6G-nG3"/>
|
||||||
|
<constraint firstItem="Z4M-gg-ETy" firstAttribute="trailing" secondItem="hxf-cQ-vPf" secondAttribute="trailing" id="IYL-kC-5jn"/>
|
||||||
|
<constraint firstAttribute="width" constant="391" id="KVq-6m-Hsd"/>
|
||||||
|
<constraint firstItem="jQV-KZ-vDo" firstAttribute="top" secondItem="QpL-0D-xz4" secondAttribute="bottom" constant="8" symbolic="YES" id="LNh-KI-Rxk"/>
|
||||||
|
<constraint firstAttribute="bottom" secondItem="GTa-J4-o2r" secondAttribute="bottom" constant="1" id="MSq-EX-GQN"/>
|
||||||
|
<constraint firstItem="6z8-Zk-lAe" firstAttribute="centerY" secondItem="zHI-a1-QLR" secondAttribute="centerY" id="Mlj-bX-49o"/>
|
||||||
|
<constraint firstItem="GTa-J4-o2r" firstAttribute="top" secondItem="zHI-a1-QLR" secondAttribute="bottom" constant="8" symbolic="YES" id="PGY-5u-rVo"/>
|
||||||
|
<constraint firstItem="Jc1-hh-J2g" firstAttribute="top" secondItem="C7P-4l-Zrn" secondAttribute="top" constant="8" id="PVb-sb-hti"/>
|
||||||
|
<constraint firstItem="6z8-Zk-lAe" firstAttribute="trailing" secondItem="hxf-cQ-vPf" secondAttribute="trailing" id="R1D-Fq-ofR"/>
|
||||||
|
<constraint firstItem="6z8-Zk-lAe" firstAttribute="leading" secondItem="zHI-a1-QLR" secondAttribute="trailing" constant="18" id="RxI-FL-Mc2"/>
|
||||||
|
<constraint firstItem="Z4M-gg-ETy" firstAttribute="centerY" secondItem="ibS-2f-qzP" secondAttribute="centerY" id="W3I-25-ySi"/>
|
||||||
|
<constraint firstItem="x7O-gB-efD" firstAttribute="top" secondItem="jQV-KZ-vDo" secondAttribute="bottom" constant="8" symbolic="YES" id="bWF-FW-302"/>
|
||||||
|
<constraint firstItem="QpL-0D-xz4" firstAttribute="leading" secondItem="Jc1-hh-J2g" secondAttribute="leading" id="bpp-xf-XAM"/>
|
||||||
|
<constraint firstItem="QRY-dq-dYN" firstAttribute="top" secondItem="C7P-4l-Zrn" secondAttribute="top" id="c1w-WS-8hh"/>
|
||||||
|
<constraint firstItem="QRY-dq-dYN" firstAttribute="leading" secondItem="C7P-4l-Zrn" secondAttribute="leading" id="eyR-73-6J1"/>
|
||||||
|
<constraint firstAttribute="trailing" secondItem="hxf-cQ-vPf" secondAttribute="trailing" constant="20" symbolic="YES" id="gum-fx-7dW"/>
|
||||||
|
<constraint firstItem="x7O-gB-efD" firstAttribute="leading" secondItem="Jc1-hh-J2g" secondAttribute="leading" id="hN7-cx-U9V"/>
|
||||||
|
<constraint firstItem="z71-zT-Rbc" firstAttribute="centerY" secondItem="x7O-gB-efD" secondAttribute="centerY" id="iu4-ap-AMp"/>
|
||||||
|
<constraint firstItem="ibS-2f-qzP" firstAttribute="top" secondItem="x7O-gB-efD" secondAttribute="bottom" constant="9" id="jPZ-Zj-Hs0"/>
|
||||||
|
<constraint firstItem="sOg-y9-tjU" firstAttribute="centerY" secondItem="QpL-0D-xz4" secondAttribute="centerY" id="kfo-2T-ERS"/>
|
||||||
|
<constraint firstAttribute="bottom" secondItem="QRY-dq-dYN" secondAttribute="bottom" constant="1" id="n6G-xb-eKM"/>
|
||||||
|
<constraint firstItem="ibS-2f-qzP" firstAttribute="leading" secondItem="Jc1-hh-J2g" secondAttribute="leading" id="nCR-4e-uMf"/>
|
||||||
|
<constraint firstItem="zHI-a1-QLR" firstAttribute="leading" secondItem="Jc1-hh-J2g" secondAttribute="leading" id="qID-K4-ORI"/>
|
||||||
|
<constraint firstItem="Cu5-bm-nOx" firstAttribute="centerY" secondItem="GTa-J4-o2r" secondAttribute="centerY" id="qfB-ip-Z92"/>
|
||||||
|
<constraint firstItem="Jc1-hh-J2g" firstAttribute="leading" secondItem="C7P-4l-Zrn" secondAttribute="leading" id="sjS-es-XJT"/>
|
||||||
|
<constraint firstItem="zHI-a1-QLR" firstAttribute="top" secondItem="ibS-2f-qzP" secondAttribute="bottom" constant="8" symbolic="YES" id="w6s-oC-RGg"/>
|
||||||
|
<constraint firstItem="Z4M-gg-ETy" firstAttribute="leading" secondItem="ibS-2f-qzP" secondAttribute="trailing" constant="18" id="wNz-e6-9Pl"/>
|
||||||
|
<constraint firstItem="sOg-y9-tjU" firstAttribute="trailing" secondItem="hxf-cQ-vPf" secondAttribute="trailing" id="weI-hr-hQm"/>
|
||||||
|
<constraint firstItem="hxf-cQ-vPf" firstAttribute="leading" secondItem="Jc1-hh-J2g" secondAttribute="trailing" constant="18" id="xE8-Eh-uT1"/>
|
||||||
|
<constraint firstItem="PJO-Z2-s09" firstAttribute="trailing" secondItem="hxf-cQ-vPf" secondAttribute="trailing" id="xat-SI-8l1"/>
|
||||||
|
<constraint firstItem="sOg-y9-tjU" firstAttribute="leading" secondItem="QpL-0D-xz4" secondAttribute="trailing" constant="18" id="zQN-w1-dmF"/>
|
||||||
|
<constraint firstItem="QpL-0D-xz4" firstAttribute="top" secondItem="Jc1-hh-J2g" secondAttribute="bottom" constant="7" id="zpB-UY-TX8"/>
|
||||||
|
</constraints>
|
||||||
|
<userDefinedRuntimeAttributes>
|
||||||
|
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
|
||||||
|
<integer key="value" value="10"/>
|
||||||
|
</userDefinedRuntimeAttribute>
|
||||||
|
</userDefinedRuntimeAttributes>
|
||||||
|
</view>
|
||||||
|
</subviews>
|
||||||
|
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
|
||||||
|
<color key="backgroundColor" red="0.89823614690721654" green="0.75887154653640498" blue="0.55954489524108109" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstItem="PJO-Z2-s09" firstAttribute="top" secondItem="sOg-y9-tjU" secondAttribute="bottom" constant="8" symbolic="YES" id="03x-Fb-UaZ"/>
|
|
||||||
<constraint firstItem="Z4M-gg-ETy" firstAttribute="leading" secondItem="ibS-2f-qzP" secondAttribute="trailing" constant="8" symbolic="YES" id="0ZO-Ql-WQL"/>
|
|
||||||
<constraint firstItem="6z8-Zk-lAe" firstAttribute="top" secondItem="zHI-a1-QLR" secondAttribute="top" id="1gr-Yy-F5d"/>
|
|
||||||
<constraint firstItem="igF-vj-z2T" firstAttribute="top" secondItem="6Tk-OE-BBY" secondAttribute="top" constant="20" id="2NK-Kg-DZc"/>
|
<constraint firstItem="igF-vj-z2T" firstAttribute="top" secondItem="6Tk-OE-BBY" secondAttribute="top" constant="20" id="2NK-Kg-DZc"/>
|
||||||
<constraint firstItem="hxf-cQ-vPf" firstAttribute="top" secondItem="Jc1-hh-J2g" secondAttribute="top" id="2dm-DN-Tmc"/>
|
<constraint firstAttribute="bottom" secondItem="Q5K-wa-jvC" secondAttribute="bottom" id="7Nv-Zm-DVH"/>
|
||||||
<constraint firstItem="GTa-J4-o2r" firstAttribute="top" secondItem="zHI-a1-QLR" secondAttribute="bottom" constant="8" symbolic="YES" id="46Z-po-Ijd"/>
|
<constraint firstItem="2fg-V2-IcO" firstAttribute="top" secondItem="C7P-4l-Zrn" secondAttribute="bottom" constant="23" id="94P-EG-Q32"/>
|
||||||
<constraint firstItem="6z8-Zk-lAe" firstAttribute="bottom" secondItem="zHI-a1-QLR" secondAttribute="bottom" id="4Zc-Xb-ZUi"/>
|
|
||||||
<constraint firstItem="GTa-J4-o2r" firstAttribute="trailing" secondItem="Jc1-hh-J2g" secondAttribute="trailing" id="4jv-oj-ETw"/>
|
|
||||||
<constraint firstItem="Z4M-gg-ETy" firstAttribute="top" secondItem="ibS-2f-qzP" secondAttribute="top" id="5Aq-xe-DZa"/>
|
|
||||||
<constraint firstItem="x7O-gB-efD" firstAttribute="trailing" secondItem="Jc1-hh-J2g" secondAttribute="trailing" id="6PE-gC-ezo"/>
|
|
||||||
<constraint firstItem="ibS-2f-qzP" firstAttribute="trailing" secondItem="Jc1-hh-J2g" secondAttribute="trailing" id="7MS-Jw-t95"/>
|
|
||||||
<constraint firstItem="PJO-Z2-s09" firstAttribute="leading" secondItem="jQV-KZ-vDo" secondAttribute="trailing" constant="8" symbolic="YES" id="7Zl-Wg-OYk"/>
|
|
||||||
<constraint firstItem="hxf-cQ-vPf" firstAttribute="leading" secondItem="Jc1-hh-J2g" secondAttribute="trailing" constant="8" symbolic="YES" id="8Iz-Q6-ZZO"/>
|
|
||||||
<constraint firstItem="sOg-y9-tjU" firstAttribute="trailing" secondItem="hxf-cQ-vPf" secondAttribute="trailing" id="8mA-dZ-uea"/>
|
|
||||||
<constraint firstItem="jQV-KZ-vDo" firstAttribute="trailing" secondItem="Jc1-hh-J2g" secondAttribute="trailing" id="B1x-uP-5A4"/>
|
|
||||||
<constraint firstItem="2fg-V2-IcO" firstAttribute="leading" secondItem="igF-vj-z2T" secondAttribute="leading" id="BmS-xS-mrB"/>
|
<constraint firstItem="2fg-V2-IcO" firstAttribute="leading" secondItem="igF-vj-z2T" secondAttribute="leading" id="BmS-xS-mrB"/>
|
||||||
<constraint firstItem="2fg-V2-IcO" firstAttribute="leading" secondItem="6Tk-OE-BBY" secondAttribute="leading" constant="16" id="DHc-c6-Yn2"/>
|
<constraint firstItem="2fg-V2-IcO" firstAttribute="leading" secondItem="6Tk-OE-BBY" secondAttribute="leading" constant="16" id="DHc-c6-Yn2"/>
|
||||||
<constraint firstItem="PJO-Z2-s09" firstAttribute="top" secondItem="jQV-KZ-vDo" secondAttribute="top" id="Dxz-eE-gLC"/>
|
<constraint firstItem="Q5K-wa-jvC" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" id="II9-dz-RVc"/>
|
||||||
<constraint firstItem="z71-zT-Rbc" firstAttribute="top" secondItem="x7O-gB-efD" secondAttribute="top" id="EXC-BR-nQy"/>
|
<constraint firstItem="C7P-4l-Zrn" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="IPo-mi-lzZ"/>
|
||||||
<constraint firstItem="Z4M-gg-ETy" firstAttribute="top" secondItem="z71-zT-Rbc" secondAttribute="bottom" constant="8" symbolic="YES" id="G5G-dk-keh"/>
|
|
||||||
<constraint firstItem="sOg-y9-tjU" firstAttribute="leading" secondItem="QpL-0D-xz4" secondAttribute="trailing" constant="8" symbolic="YES" id="GXZ-gh-jHz"/>
|
|
||||||
<constraint firstItem="hxf-cQ-vPf" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="IU0-dr-UzL"/>
|
|
||||||
<constraint firstItem="z71-zT-Rbc" firstAttribute="trailing" secondItem="hxf-cQ-vPf" secondAttribute="trailing" id="J7H-lD-26D"/>
|
|
||||||
<constraint firstItem="z71-zT-Rbc" firstAttribute="bottom" secondItem="x7O-gB-efD" secondAttribute="bottom" id="JBC-2e-JIA"/>
|
|
||||||
<constraint firstItem="jQV-KZ-vDo" firstAttribute="top" secondItem="QpL-0D-xz4" secondAttribute="bottom" constant="8" symbolic="YES" id="ME9-9C-r02"/>
|
|
||||||
<constraint firstItem="ibS-2f-qzP" firstAttribute="top" secondItem="x7O-gB-efD" secondAttribute="bottom" constant="8" symbolic="YES" id="MPm-m5-gr4"/>
|
|
||||||
<constraint firstItem="PJO-Z2-s09" firstAttribute="leading" secondItem="hxf-cQ-vPf" secondAttribute="leading" id="NAy-K6-i4s"/>
|
|
||||||
<constraint firstItem="sOg-y9-tjU" firstAttribute="leading" secondItem="hxf-cQ-vPf" secondAttribute="leading" id="NKW-ha-WPl"/>
|
|
||||||
<constraint firstItem="sOg-y9-tjU" firstAttribute="bottom" secondItem="QpL-0D-xz4" secondAttribute="bottom" id="NN6-Mb-ALl"/>
|
|
||||||
<constraint firstItem="6z8-Zk-lAe" firstAttribute="leading" secondItem="zHI-a1-QLR" secondAttribute="trailing" constant="8" symbolic="YES" id="PId-Go-fbY"/>
|
|
||||||
<constraint firstItem="6z8-Zk-lAe" firstAttribute="trailing" secondItem="hxf-cQ-vPf" secondAttribute="trailing" id="QG0-nR-Vkq"/>
|
|
||||||
<constraint firstItem="Cu5-bm-nOx" firstAttribute="bottom" secondItem="GTa-J4-o2r" secondAttribute="bottom" id="RVy-Ui-gqf"/>
|
|
||||||
<constraint firstItem="2fg-V2-IcO" firstAttribute="bottom" secondItem="6Tk-OE-BBY" secondAttribute="bottom" id="RoU-g9-J4H"/>
|
<constraint firstItem="2fg-V2-IcO" firstAttribute="bottom" secondItem="6Tk-OE-BBY" secondAttribute="bottom" id="RoU-g9-J4H"/>
|
||||||
<constraint firstItem="PJO-Z2-s09" firstAttribute="bottom" secondItem="jQV-KZ-vDo" secondAttribute="bottom" id="SeF-j6-Ok8"/>
|
<constraint firstItem="Q5K-wa-jvC" firstAttribute="top" secondItem="6Tk-OE-BBY" secondAttribute="top" id="SGj-Tv-YNF"/>
|
||||||
<constraint firstItem="6z8-Zk-lAe" firstAttribute="top" secondItem="Z4M-gg-ETy" secondAttribute="bottom" constant="8" symbolic="YES" id="Smq-nA-Ds9"/>
|
<constraint firstAttribute="trailing" secondItem="Q5K-wa-jvC" secondAttribute="trailing" id="Yuz-m9-GUj"/>
|
||||||
<constraint firstItem="QpL-0D-xz4" firstAttribute="top" secondItem="Jc1-hh-J2g" secondAttribute="bottom" constant="8" symbolic="YES" id="StZ-Wq-FmG"/>
|
|
||||||
<constraint firstItem="z71-zT-Rbc" firstAttribute="leading" secondItem="x7O-gB-efD" secondAttribute="trailing" constant="8" symbolic="YES" id="TOx-dC-ZFw"/>
|
|
||||||
<constraint firstItem="sOg-y9-tjU" firstAttribute="top" secondItem="hxf-cQ-vPf" secondAttribute="bottom" constant="8" symbolic="YES" id="UQu-0y-IfA"/>
|
|
||||||
<constraint firstItem="6z8-Zk-lAe" firstAttribute="leading" secondItem="hxf-cQ-vPf" secondAttribute="leading" id="UqN-km-o4H"/>
|
|
||||||
<constraint firstItem="QpL-0D-xz4" firstAttribute="trailing" secondItem="Jc1-hh-J2g" secondAttribute="trailing" id="XRY-Tt-3de"/>
|
|
||||||
<constraint firstItem="zHI-a1-QLR" firstAttribute="top" secondItem="ibS-2f-qzP" secondAttribute="bottom" constant="8" symbolic="YES" id="XRw-OM-4RS"/>
|
|
||||||
<constraint firstItem="hxf-cQ-vPf" firstAttribute="bottom" secondItem="Jc1-hh-J2g" secondAttribute="bottom" id="Zk3-qL-1nC"/>
|
|
||||||
<constraint firstItem="Z4M-gg-ETy" firstAttribute="centerY" secondItem="8bC-Xf-vdC" secondAttribute="centerY" id="a9j-3q-xcS"/>
|
|
||||||
<constraint firstItem="6Tk-OE-BBY" firstAttribute="trailing" secondItem="2fg-V2-IcO" secondAttribute="trailing" constant="16" id="bdS-GL-cDm"/>
|
<constraint firstItem="6Tk-OE-BBY" firstAttribute="trailing" secondItem="2fg-V2-IcO" secondAttribute="trailing" constant="16" id="bdS-GL-cDm"/>
|
||||||
<constraint firstItem="x7O-gB-efD" firstAttribute="top" secondItem="jQV-KZ-vDo" secondAttribute="bottom" constant="8" symbolic="YES" id="dqA-8F-tJR"/>
|
|
||||||
<constraint firstItem="sOg-y9-tjU" firstAttribute="top" secondItem="QpL-0D-xz4" secondAttribute="top" id="fPe-8Z-XQ0"/>
|
|
||||||
<constraint firstItem="Cu5-bm-nOx" firstAttribute="trailing" secondItem="hxf-cQ-vPf" secondAttribute="trailing" id="iuG-lK-Fmf"/>
|
|
||||||
<constraint firstItem="Z4M-gg-ETy" firstAttribute="leading" secondItem="hxf-cQ-vPf" secondAttribute="leading" id="kEU-BM-WPJ"/>
|
|
||||||
<constraint firstItem="2fg-V2-IcO" firstAttribute="trailing" secondItem="igF-vj-z2T" secondAttribute="trailing" id="nqR-rr-fQC"/>
|
<constraint firstItem="2fg-V2-IcO" firstAttribute="trailing" secondItem="igF-vj-z2T" secondAttribute="trailing" id="nqR-rr-fQC"/>
|
||||||
<constraint firstItem="Z4M-gg-ETy" firstAttribute="trailing" secondItem="hxf-cQ-vPf" secondAttribute="trailing" id="oCA-A3-scu"/>
|
<constraint firstItem="C7P-4l-Zrn" firstAttribute="top" secondItem="igF-vj-z2T" secondAttribute="bottom" constant="23" id="s0m-6s-q7q"/>
|
||||||
<constraint firstItem="Cu5-bm-nOx" firstAttribute="leading" secondItem="hxf-cQ-vPf" secondAttribute="leading" id="pkN-8d-zKy"/>
|
|
||||||
<constraint firstItem="Cu5-bm-nOx" firstAttribute="top" secondItem="GTa-J4-o2r" secondAttribute="top" id="rfb-J7-yhe"/>
|
|
||||||
<constraint firstItem="zHI-a1-QLR" firstAttribute="trailing" secondItem="Jc1-hh-J2g" secondAttribute="trailing" id="sVG-nY-0YZ"/>
|
|
||||||
<constraint firstItem="z71-zT-Rbc" firstAttribute="top" secondItem="PJO-Z2-s09" secondAttribute="bottom" constant="8" symbolic="YES" id="tdU-FG-MeY"/>
|
|
||||||
<constraint firstItem="Cu5-bm-nOx" firstAttribute="top" secondItem="6z8-Zk-lAe" secondAttribute="bottom" constant="8" symbolic="YES" id="u8v-YG-18b"/>
|
|
||||||
<constraint firstItem="PJO-Z2-s09" firstAttribute="trailing" secondItem="hxf-cQ-vPf" secondAttribute="trailing" id="uWu-mQ-gpL"/>
|
|
||||||
<constraint firstItem="Cu5-bm-nOx" firstAttribute="leading" secondItem="GTa-J4-o2r" secondAttribute="trailing" constant="8" symbolic="YES" id="vEE-A7-qkg"/>
|
|
||||||
<constraint firstItem="Z4M-gg-ETy" firstAttribute="bottom" secondItem="ibS-2f-qzP" secondAttribute="bottom" id="xoH-Od-eAM"/>
|
|
||||||
<constraint firstItem="z71-zT-Rbc" firstAttribute="leading" secondItem="hxf-cQ-vPf" secondAttribute="leading" id="zzt-7i-kbY"/>
|
|
||||||
</constraints>
|
</constraints>
|
||||||
</view>
|
</view>
|
||||||
<tabBarItem key="tabBarItem" title="Player Board" image="person" catalog="system" id="EZU-v6-2Nk"/>
|
<tabBarItem key="tabBarItem" title="Player Board" image="person" catalog="system" id="EZU-v6-2Nk"/>
|
||||||
<simulatedTabBarMetrics key="simulatedBottomBarMetrics"/>
|
<simulatedTabBarMetrics key="simulatedBottomBarMetrics"/>
|
||||||
<connections>
|
<connections>
|
||||||
|
<outlet property="EndTurnBtn" destination="2fg-V2-IcO" id="M7s-1K-lnj"/>
|
||||||
<outlet property="medallionCount" destination="Cu5-bm-nOx" id="21C-CS-ZpS"/>
|
<outlet property="medallionCount" destination="Cu5-bm-nOx" id="21C-CS-ZpS"/>
|
||||||
<outlet property="playerCattleCount" destination="6z8-Zk-lAe" id="LfO-I3-Pl0"/>
|
<outlet property="playerCattleCount" destination="6z8-Zk-lAe" id="LfO-I3-Pl0"/>
|
||||||
<outlet property="playerCornCount" destination="z71-zT-Rbc" id="PW7-9I-8GY"/>
|
<outlet property="playerCornCount" destination="z71-zT-Rbc" id="PW7-9I-8GY"/>
|
||||||
|
@ -603,21 +705,36 @@
|
||||||
<rect key="frame" x="0.0" y="0.0" width="896" height="414"/>
|
<rect key="frame" x="0.0" y="0.0" width="896" height="414"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
|
<imageView clipsSubviews="YES" userInteractionEnabled="NO" alpha="0.5" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="sand_bg" translatesAutoresizingMaskIntoConstraints="NO" id="pw2-Qf-tdc">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="896" height="414"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
</imageView>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="(Player) Wins!" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="izI-81-ppP">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="(Player) Wins!" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="izI-81-ppP">
|
||||||
<rect key="frame" x="60" y="20" width="776" height="39"/>
|
<rect key="frame" x="60" y="20" width="776" height="39"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="32"/>
|
<constraints>
|
||||||
<nil key="textColor"/>
|
<constraint firstAttribute="height" constant="39" id="tpU-VH-Nf6"/>
|
||||||
|
</constraints>
|
||||||
|
<fontDescription key="fontDescription" name="Papyrus" family="Papyrus" pointSize="24"/>
|
||||||
|
<color key="textColor" red="0.49387886600000003" green="0.41725176629999999" blue="0.30765561959999999" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<pickerView contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="P8b-JI-eVC">
|
<pickerView contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="P8b-JI-eVC">
|
||||||
<rect key="frame" x="60" y="126" width="776" height="162"/>
|
<rect key="frame" x="60" y="126" width="776" height="162"/>
|
||||||
</pickerView>
|
</pickerView>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kMn-7n-C5k">
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" hasAttributedTitle="YES" translatesAutoresizingMaskIntoConstraints="NO" id="kMn-7n-C5k">
|
||||||
<rect key="frame" x="60" y="350" width="776" height="43"/>
|
<rect key="frame" x="60" y="344" width="776" height="49"/>
|
||||||
<state key="normal" title="Button"/>
|
<color key="tintColor" red="0.24230970439999999" green="0.53998872419999999" blue="0.14532085680000001" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
<buttonConfiguration key="configuration" style="plain" title="Start Game">
|
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||||||
<fontDescription key="titleFontDescription" type="system" pointSize="24"/>
|
<state key="normal">
|
||||||
</buttonConfiguration>
|
<attributedString key="attributedTitle">
|
||||||
|
<fragment content="Start Game">
|
||||||
|
<attributes>
|
||||||
|
<color key="NSColor" red="0.24230970439999999" green="0.53998872419999999" blue="0.14532085680000001" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
|
<font key="NSFont" size="24" name="Papyrus"/>
|
||||||
|
</attributes>
|
||||||
|
</fragment>
|
||||||
|
</attributedString>
|
||||||
|
</state>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="StartGame:" destination="voc-o0-2VN" eventType="touchUpInside" id="3d9-ob-vYT"/>
|
<action selector="StartGame:" destination="voc-o0-2VN" eventType="touchUpInside" id="3d9-ob-vYT"/>
|
||||||
<segue destination="AEX-uU-vJw" kind="show" id="TZO-zI-xUS"/>
|
<segue destination="AEX-uU-vJw" kind="show" id="TZO-zI-xUS"/>
|
||||||
|
@ -625,7 +742,7 @@
|
||||||
</button>
|
</button>
|
||||||
</subviews>
|
</subviews>
|
||||||
<viewLayoutGuide key="safeArea" id="xKj-N8-7Gs"/>
|
<viewLayoutGuide key="safeArea" id="xKj-N8-7Gs"/>
|
||||||
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
<color key="backgroundColor" red="0.89823614689999998" green="0.75887154649999999" blue="0.55954489519999995" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstItem="izI-81-ppP" firstAttribute="top" secondItem="xKj-N8-7Gs" secondAttribute="top" constant="20" id="2f4-Xg-Rmn"/>
|
<constraint firstItem="izI-81-ppP" firstAttribute="top" secondItem="xKj-N8-7Gs" secondAttribute="top" constant="20" id="2f4-Xg-Rmn"/>
|
||||||
<constraint firstItem="P8b-JI-eVC" firstAttribute="leading" secondItem="izI-81-ppP" secondAttribute="leading" id="HT9-q9-uJV"/>
|
<constraint firstItem="P8b-JI-eVC" firstAttribute="leading" secondItem="izI-81-ppP" secondAttribute="leading" id="HT9-q9-uJV"/>
|
||||||
|
@ -640,6 +757,7 @@
|
||||||
</view>
|
</view>
|
||||||
<navigationItem key="navigationItem" id="b5v-lV-S9X"/>
|
<navigationItem key="navigationItem" id="b5v-lV-S9X"/>
|
||||||
<connections>
|
<connections>
|
||||||
|
<outlet property="StartBtn" destination="kMn-7n-C5k" id="Q9x-ER-tHZ"/>
|
||||||
<outlet property="playerStats" destination="P8b-JI-eVC" id="Fc0-vs-bPZ"/>
|
<outlet property="playerStats" destination="P8b-JI-eVC" id="Fc0-vs-bPZ"/>
|
||||||
<outlet property="winnerLabel" destination="izI-81-ppP" id="zlx-U7-KCq"/>
|
<outlet property="winnerLabel" destination="izI-81-ppP" id="zlx-U7-KCq"/>
|
||||||
</connections>
|
</connections>
|
||||||
|
@ -651,12 +769,12 @@
|
||||||
</scenes>
|
</scenes>
|
||||||
<resources>
|
<resources>
|
||||||
<image name="checkerboard.rectangle" catalog="system" width="128" height="93"/>
|
<image name="checkerboard.rectangle" catalog="system" width="128" height="93"/>
|
||||||
|
<image name="gold_bg" width="387" height="516.5"/>
|
||||||
|
<image name="gold_lbg" width="774" height="1033"/>
|
||||||
<image name="person" catalog="system" width="128" height="117"/>
|
<image name="person" catalog="system" width="128" height="117"/>
|
||||||
|
<image name="sand_bg" width="2448" height="1380"/>
|
||||||
<systemColor name="labelColor">
|
<systemColor name="labelColor">
|
||||||
<color white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
<color white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
</systemColor>
|
</systemColor>
|
||||||
<systemColor name="systemBackgroundColor">
|
|
||||||
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
||||||
</systemColor>
|
|
||||||
</resources>
|
</resources>
|
||||||
</document>
|
</document>
|
||||||
|
|
|
@ -5,6 +5,53 @@
|
||||||
// Created by Micah Gomez on 10/17/21.
|
// Created by Micah Gomez on 10/17/21.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
extension UIImage {
|
||||||
|
func rotate(radians: Float) -> UIImage? {
|
||||||
|
var newSize = CGRect(origin: CGPoint.zero, size: self.size).applying(CGAffineTransform(rotationAngle: CGFloat(radians))).size
|
||||||
|
// Trim off the extremely small float value to prevent core graphics from rounding it up
|
||||||
|
newSize.width = floor(newSize.width)
|
||||||
|
newSize.height = floor(newSize.height)
|
||||||
|
|
||||||
|
UIGraphicsBeginImageContextWithOptions(newSize, false, self.scale)
|
||||||
|
let context = UIGraphicsGetCurrentContext()!
|
||||||
|
|
||||||
|
// Move origin to middle
|
||||||
|
context.translateBy(x: newSize.width/2, y: newSize.height/2)
|
||||||
|
// Rotate around middle
|
||||||
|
context.rotate(by: CGFloat(radians))
|
||||||
|
// Draw the image at its center
|
||||||
|
self.draw(in: CGRect(x: -self.size.width/2, y: -self.size.height/2, width: self.size.width, height: self.size.height))
|
||||||
|
|
||||||
|
let newImage = UIGraphicsGetImageFromCurrentImageContext()
|
||||||
|
UIGraphicsEndImageContext()
|
||||||
|
|
||||||
|
return newImage
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
extension UIImage {
|
||||||
|
func cropsToSquare() -> UIImage? {
|
||||||
|
if let image = self.cgImage {
|
||||||
|
let refWidth = CGFloat((image.width))
|
||||||
|
let refHeight = CGFloat((image.height))
|
||||||
|
let cropSize = refWidth > refHeight ? refHeight*0.4 : refWidth*0.4
|
||||||
|
|
||||||
|
let x = (refWidth - cropSize) / 2.0
|
||||||
|
let y = (refHeight - cropSize) / 2.0
|
||||||
|
|
||||||
|
let cropRect = CGRect(x: x, y: y, width: cropSize, height: cropSize)
|
||||||
|
let imageRef = image.cropping(to: cropRect)
|
||||||
|
let cropped = UIImage(cgImage: imageRef!, scale: 0.0, orientation: self.imageOrientation)
|
||||||
|
return cropped
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func deg2rad(_ number: Double) -> Double {
|
||||||
|
return number * .pi / 180
|
||||||
|
}
|
||||||
|
|
||||||
import UIKit
|
import UIKit
|
||||||
|
|
||||||
class PlayerBoardController: UIViewController {
|
class PlayerBoardController: UIViewController {
|
||||||
|
@ -18,12 +65,13 @@ class PlayerBoardController: UIViewController {
|
||||||
@IBOutlet var playerFishCount: UILabel!
|
@IBOutlet var playerFishCount: UILabel!
|
||||||
@IBOutlet var playerCattleCount: UILabel!
|
@IBOutlet var playerCattleCount: UILabel!
|
||||||
@IBOutlet var medallionCount: UILabel!
|
@IBOutlet var medallionCount: UILabel!
|
||||||
|
@IBOutlet weak var EndTurnBtn: UIButton!
|
||||||
|
|
||||||
|
|
||||||
override func viewDidLoad() {
|
override func viewDidLoad() {
|
||||||
super.viewDidLoad()
|
super.viewDidLoad()
|
||||||
// Do any additional setup after loading the view.
|
// Do any additional setup after loading the view.
|
||||||
|
EndTurnBtn.titleLabel?.font = UIFont(name: "Papyrus", size: 18)!
|
||||||
}
|
}
|
||||||
|
|
||||||
override func viewWillAppear(_ animated: Bool) {
|
override func viewWillAppear(_ animated: Bool) {
|
||||||
|
@ -99,6 +147,10 @@ class PlayerBoardController: UIViewController {
|
||||||
|
|
||||||
GlobalVars.players[GlobalVars.activePlayerInt] = GlobalVars.currentPlayer
|
GlobalVars.players[GlobalVars.activePlayerInt] = GlobalVars.currentPlayer
|
||||||
|
|
||||||
|
let confirmAlert = UIAlertController(title: "End Turn?", message: "To end your turn, press Ok and pass the device to the next player.", preferredStyle: UIAlertController.Style.alert)
|
||||||
|
|
||||||
|
confirmAlert.addAction(UIAlertAction(title: "Ok", style: .default, handler: { (action: UIAlertAction!) in
|
||||||
|
|
||||||
if((GlobalVars.currentYear == 6) && ((GlobalVars.activePlayerInt+1) == GlobalVars.playerCount)){
|
if((GlobalVars.currentYear == 6) && ((GlobalVars.activePlayerInt+1) == GlobalVars.playerCount)){
|
||||||
let mainStoryboard = UIStoryboard(name: "Main", bundle: Bundle.main)
|
let mainStoryboard = UIStoryboard(name: "Main", bundle: Bundle.main)
|
||||||
if let viewController = mainStoryboard.instantiateViewController(withIdentifier: "GameEndScreen") as? UIViewController {
|
if let viewController = mainStoryboard.instantiateViewController(withIdentifier: "GameEndScreen") as? UIViewController {
|
||||||
|
@ -112,6 +164,16 @@ class PlayerBoardController: UIViewController {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}))
|
||||||
|
|
||||||
|
confirmAlert.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: { (action: UIAlertAction!) in
|
||||||
|
print("Handle Cancel Logic here")
|
||||||
|
}))
|
||||||
|
|
||||||
|
present(confirmAlert, animated: true, completion: nil)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -122,6 +184,8 @@ class GameBoardController: UIViewController {
|
||||||
|
|
||||||
@IBOutlet var PlayerNameLabel: UILabel!
|
@IBOutlet var PlayerNameLabel: UILabel!
|
||||||
@IBOutlet var LbrPointsLbl: UILabel!
|
@IBOutlet var LbrPointsLbl: UILabel!
|
||||||
|
@IBOutlet var RsrcPointsLbl: UILabel!
|
||||||
|
|
||||||
|
|
||||||
@IBOutlet var ResourceSlot1: UIButton!
|
@IBOutlet var ResourceSlot1: UIButton!
|
||||||
@IBOutlet var ResourceSlot2: UIButton!
|
@IBOutlet var ResourceSlot2: UIButton!
|
||||||
|
@ -175,13 +239,31 @@ class GameBoardController: UIViewController {
|
||||||
item.titleLabel?.lineBreakMode = NSLineBreakMode.byWordWrapping
|
item.titleLabel?.lineBreakMode = NSLineBreakMode.byWordWrapping
|
||||||
item.titleLabel?.textAlignment = NSTextAlignment.center
|
item.titleLabel?.textAlignment = NSTextAlignment.center
|
||||||
//item.layer.shadowPath = UIBezierPath(rect: item.layer.bounds).cgPath
|
//item.layer.shadowPath = UIBezierPath(rect: item.layer.bounds).cgPath
|
||||||
item.layer.shadowColor = UIColor.black.cgColor
|
/*item.layer.shadowColor = UIColor.black.cgColor
|
||||||
item.layer.shadowRadius = 13.0
|
item.layer.shadowRadius = 13.0
|
||||||
item.layer.shadowOpacity = 0
|
item.layer.shadowOpacity = 0*/
|
||||||
if(GlobalVars.currentYear == index){
|
if(GlobalVars.currentYear == index){
|
||||||
item.layer.borderColor = UIColor.green.cgColor
|
item.layer.borderColor = UIColor(red: 0.20, green: 0.47, blue: 0.20, alpha: 1.00).cgColor
|
||||||
item.layer.borderWidth = 5
|
item.layer.borderWidth = 2
|
||||||
}
|
}
|
||||||
|
let goldimage = UIImage(named: "gold_bg")
|
||||||
|
let randomInt = Int.random(in: 1...360)
|
||||||
|
print(randomInt)
|
||||||
|
var bgimage = goldimage?.rotate(radians: Float(deg2rad(Double(randomInt))))
|
||||||
|
bgimage = bgimage?.cropsToSquare()
|
||||||
|
|
||||||
|
item.setBackgroundImage(bgimage, for: .normal)
|
||||||
|
|
||||||
|
/*let shadowLayer = CALayer()
|
||||||
|
shadowLayer.masksToBounds = false
|
||||||
|
shadowLayer.shadowColor = shadowColor?.cgColor
|
||||||
|
shadowLayer.shadowOffset = shadowOffset
|
||||||
|
shadowLayer.shadowOpacity = shadowOpacity
|
||||||
|
shadowLayer.shadowRadius = shadowRadius
|
||||||
|
shadowLayer.shadowPath = UIBezierPath(rect: rect).cgPath
|
||||||
|
layer.insertSublayer(shadowLayer, at: 0)
|
||||||
|
self.shadowLayer = shadowLayer*/
|
||||||
|
|
||||||
if(GlobalVars.resourceSlots[GlobalVars.currentYear].name == GlobalVars.resourceSlots[index].name){
|
if(GlobalVars.resourceSlots[GlobalVars.currentYear].name == GlobalVars.resourceSlots[index].name){
|
||||||
item.setTitle("\(GlobalVars.resourceSlots[index].name)\n\((GlobalVars.resourceSlots[index].cost - 1))", for: .normal)
|
item.setTitle("\(GlobalVars.resourceSlots[index].name)\n\((GlobalVars.resourceSlots[index].cost - 1))", for: .normal)
|
||||||
} else {
|
} else {
|
||||||
|
@ -227,14 +309,93 @@ class GameBoardController: UIViewController {
|
||||||
@IBAction func boxTouched(_ sender: UIButton) {
|
@IBAction func boxTouched(_ sender: UIButton) {
|
||||||
let index = AllResourceSlots.index(of: sender)!
|
let index = AllResourceSlots.index(of: sender)!
|
||||||
if !sender.isSelected{
|
if !sender.isSelected{
|
||||||
|
var resourceCount = 0
|
||||||
for (i, item) in GlobalVars.resourceSlots.enumerated() {
|
for (i, item) in GlobalVars.resourceSlots.enumerated() {
|
||||||
//print(i,item)
|
//print(i,item)
|
||||||
|
|
||||||
AllResourceSlots[i].isSelected = false
|
AllResourceSlots[i].isSelected = false
|
||||||
AllResourceSlots[i].layer.shadowOpacity = 0
|
//AllResourceSlots[i].layer.shadowOpacity = 0
|
||||||
|
UIView.animate(withDuration: 0.1, animations: {
|
||||||
|
self.AllResourceSlots[i].transform = CGAffineTransform(translationX: 0, y: 0)
|
||||||
|
})
|
||||||
if item.name == GlobalVars.resourceSlots[index].name {
|
if item.name == GlobalVars.resourceSlots[index].name {
|
||||||
AllResourceSlots[i].isSelected = true
|
AllResourceSlots[i].isSelected = true
|
||||||
AllResourceSlots[i].layer.shadowOpacity = 0.75
|
UIView.animate(withDuration: 0.1, animations: {
|
||||||
|
self.AllResourceSlots[i].transform = CGAffineTransform(translationX: 0, y: -20)
|
||||||
|
})
|
||||||
|
//AllResourceSlots[i].layer.shadowOpacity = 0.75
|
||||||
|
resourceCount += 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
var resourceTotal = 0
|
||||||
|
switch(GlobalVars.resourceSlots[index].name) {
|
||||||
|
case "Oil\n🪔" :
|
||||||
|
if ((GlobalVars.currentPlayer.oil + resourceCount) > 10){
|
||||||
|
resourceTotal = 10
|
||||||
|
} else {
|
||||||
|
resourceTotal = GlobalVars.currentPlayer.oil + resourceCount
|
||||||
|
}
|
||||||
|
RsrcPointsLbl.text = "Oil 🪔: \(GlobalVars.currentPlayer.oil) > \(resourceTotal)"
|
||||||
|
break;
|
||||||
|
case "Water\n💧" :
|
||||||
|
if ((GlobalVars.currentPlayer.water + resourceCount) > 10){
|
||||||
|
resourceTotal = 10
|
||||||
|
} else {
|
||||||
|
resourceTotal = GlobalVars.currentPlayer.water + resourceCount
|
||||||
|
}
|
||||||
|
RsrcPointsLbl.text = "Water 💧: \(GlobalVars.currentPlayer.water) > \(resourceTotal)"
|
||||||
|
break;
|
||||||
|
case "Wheat\n🌾" :
|
||||||
|
if ((GlobalVars.currentPlayer.wheat + resourceCount) > 10){
|
||||||
|
resourceTotal = 10
|
||||||
|
} else {
|
||||||
|
resourceTotal = GlobalVars.currentPlayer.wheat + resourceCount
|
||||||
|
}
|
||||||
|
RsrcPointsLbl.text = "Wheat 🌾: \(GlobalVars.currentPlayer.wheat) > \(resourceTotal)"
|
||||||
|
break;
|
||||||
|
case "Corn\n🌽" :
|
||||||
|
if ((GlobalVars.currentPlayer.corn + resourceCount) > 10){
|
||||||
|
resourceTotal = 10
|
||||||
|
} else {
|
||||||
|
resourceTotal = GlobalVars.currentPlayer.corn + resourceCount
|
||||||
|
}
|
||||||
|
RsrcPointsLbl.text = "Corn 🌽: \(GlobalVars.currentPlayer.corn) > \(resourceTotal)"
|
||||||
|
break;
|
||||||
|
case "Fish\n🐟" :
|
||||||
|
if ((GlobalVars.currentPlayer.fish + resourceCount) > 10){
|
||||||
|
resourceTotal = 10
|
||||||
|
} else {
|
||||||
|
resourceTotal = GlobalVars.currentPlayer.fish + resourceCount
|
||||||
|
}
|
||||||
|
RsrcPointsLbl.text = "Fish 🐟: \(GlobalVars.currentPlayer.fish) > \(resourceTotal)"
|
||||||
|
break;
|
||||||
|
case "Cattle\n🐂" :
|
||||||
|
if ((GlobalVars.currentPlayer.cattle + resourceCount) > 10){
|
||||||
|
resourceTotal = 10
|
||||||
|
} else {
|
||||||
|
resourceTotal = GlobalVars.currentPlayer.cattle + resourceCount
|
||||||
|
}
|
||||||
|
RsrcPointsLbl.text = "Cattle 🐂: \(GlobalVars.currentPlayer.cattle) > \(resourceTotal)"
|
||||||
|
break;
|
||||||
|
|
||||||
|
/* you can have any number of case statements */
|
||||||
|
default : /* Optional */
|
||||||
|
print("uh oh!")
|
||||||
|
}
|
||||||
|
if(GlobalVars.resourceSlots[GlobalVars.currentYear].name == GlobalVars.resourceSlots[index].name){
|
||||||
|
LbrPointsLbl.text = "Labor Points: \(GlobalVars.currentPlayer.laborpoints) > \(GlobalVars.currentPlayer.laborpoints - (GlobalVars.resourceSlots[index].cost) + 1)"
|
||||||
|
if (GlobalVars.currentPlayer.laborpoints - (GlobalVars.resourceSlots[index].cost) + 1) < 0 {
|
||||||
|
LbrPointsLbl.textColor = UIColor.red
|
||||||
|
} else {
|
||||||
|
LbrPointsLbl.textColor = UIColor(red: 0.49, green: 0.42, blue: 0.31, alpha: 1.00)
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
LbrPointsLbl.text = "Labor Points: \(GlobalVars.currentPlayer.laborpoints) > \(GlobalVars.currentPlayer.laborpoints - GlobalVars.resourceSlots[index].cost)"
|
||||||
|
if (GlobalVars.currentPlayer.laborpoints - (GlobalVars.resourceSlots[index].cost)) < 0 {
|
||||||
|
LbrPointsLbl.textColor = UIColor.red
|
||||||
|
} else {
|
||||||
|
LbrPointsLbl.textColor = UIColor(red: 0.49, green: 0.42, blue: 0.31, alpha: 1.00)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -267,16 +428,25 @@ class GameBoardController: UIViewController {
|
||||||
AllResourceSlots[i].setTitle("\(GlobalVars.resourceSlots[i].name)\n\(GlobalVars.resourceSlots[i].cost)", for: .normal)
|
AllResourceSlots[i].setTitle("\(GlobalVars.resourceSlots[i].name)\n\(GlobalVars.resourceSlots[i].cost)", for: .normal)
|
||||||
}*/
|
}*/
|
||||||
for (index,ii) in AllResourceSlots.enumerated() {
|
for (index,ii) in AllResourceSlots.enumerated() {
|
||||||
|
UIView.animate(withDuration: 0.25, animations: {
|
||||||
|
self.AllResourceSlots[i].transform = CGAffineTransform(scaleX: -1, y: 1)
|
||||||
|
})
|
||||||
if(GlobalVars.resourceSlots[GlobalVars.currentYear].name == GlobalVars.resourceSlots[index].name){
|
if(GlobalVars.resourceSlots[GlobalVars.currentYear].name == GlobalVars.resourceSlots[index].name){
|
||||||
ii.setTitle("\(GlobalVars.resourceSlots[index].name)\n\((GlobalVars.resourceSlots[index].cost - 1))", for: .normal)
|
ii.setTitle("\(GlobalVars.resourceSlots[index].name)\n\((GlobalVars.resourceSlots[index].cost - 1))", for: .normal)
|
||||||
} else {
|
} else {
|
||||||
ii.setTitle("\(GlobalVars.resourceSlots[index].name)\n\(GlobalVars.resourceSlots[index].cost)", for: .normal)
|
ii.setTitle("\(GlobalVars.resourceSlots[index].name)\n\(GlobalVars.resourceSlots[index].cost)", for: .normal)
|
||||||
}
|
}
|
||||||
|
UIView.animate(withDuration: 0.25, animations: {
|
||||||
|
self.AllResourceSlots[i].transform = CGAffineTransform(scaleX: 1, y: 1)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
AllResourceSlots[i].isSelected = false
|
AllResourceSlots[i].isSelected = false
|
||||||
AllResourceSlots[i].layer.shadowOpacity = 0
|
AllResourceSlots[i].layer.shadowOpacity = 0
|
||||||
LbrPointsLbl.text = "Labor Points: \(GlobalVars.currentPlayer.laborpoints)"
|
LbrPointsLbl.text = "Labor Points: \(GlobalVars.currentPlayer.laborpoints)"
|
||||||
|
RsrcPointsLbl.text = ""
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print(GlobalVars.currentPlayer.oil,GlobalVars.currentPlayer.water,GlobalVars.currentPlayer.wheat,GlobalVars.currentPlayer.corn,GlobalVars.currentPlayer.fish,GlobalVars.currentPlayer.cattle)
|
print(GlobalVars.currentPlayer.oil,GlobalVars.currentPlayer.water,GlobalVars.currentPlayer.wheat,GlobalVars.currentPlayer.corn,GlobalVars.currentPlayer.fish,GlobalVars.currentPlayer.cattle)
|
||||||
|
|
|
@ -29,6 +29,7 @@ class StartController: UIViewController, UIPickerViewDelegate, UIPickerViewDataS
|
||||||
// Do any additional setup after loading the view.
|
// Do any additional setup after loading the view.
|
||||||
playerCountPicker.delegate = self
|
playerCountPicker.delegate = self
|
||||||
playerCountPicker.dataSource = self
|
playerCountPicker.dataSource = self
|
||||||
|
StartBtn.titleLabel?.font = UIFont(name: "Papyrus", size: 18)!
|
||||||
}
|
}
|
||||||
|
|
||||||
override func viewDidAppear(_ animated: Bool) {
|
override func viewDidAppear(_ animated: Bool) {
|
||||||
|
@ -40,6 +41,8 @@ class StartController: UIViewController, UIPickerViewDelegate, UIPickerViewDataS
|
||||||
GlobalVars.resourceSlots = []
|
GlobalVars.resourceSlots = []
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@IBOutlet var StartBtn: UIButton!
|
||||||
|
|
||||||
@IBAction func StartGame(_ sender: Any) {
|
@IBAction func StartGame(_ sender: Any) {
|
||||||
GlobalVars.playerCount = playerCountPicker.selectedRow(inComponent: 0) + 2
|
GlobalVars.playerCount = playerCountPicker.selectedRow(inComponent: 0) + 2
|
||||||
}
|
}
|
||||||
|
@ -58,6 +61,7 @@ class NamesController: UIViewController {
|
||||||
override func viewDidLoad() {
|
override func viewDidLoad() {
|
||||||
super.viewDidLoad()
|
super.viewDidLoad()
|
||||||
// Do any additional setup after loading the view.
|
// Do any additional setup after loading the view.
|
||||||
|
NextBtn.titleLabel?.font = UIFont(name: "Papyrus", size: 18)!
|
||||||
}
|
}
|
||||||
|
|
||||||
override func viewDidAppear(_ animated: Bool) {
|
override func viewDidAppear(_ animated: Bool) {
|
||||||
|
@ -65,6 +69,8 @@ class NamesController: UIViewController {
|
||||||
PlayerNameField.becomeFirstResponder()
|
PlayerNameField.becomeFirstResponder()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@IBOutlet weak var NextBtn: UIButton!
|
||||||
|
|
||||||
@IBAction func PlayerNextBtn(_ sender: Any) {
|
@IBAction func PlayerNextBtn(_ sender: Any) {
|
||||||
let createNewPlayer:player = player()
|
let createNewPlayer:player = player()
|
||||||
createNewPlayer.name = PlayerNameField.text ?? "Player \(GlobalVars.activePlayerInt+1)"
|
createNewPlayer.name = PlayerNameField.text ?? "Player \(GlobalVars.activePlayerInt+1)"
|
||||||
|
@ -94,6 +100,8 @@ class PlayerStartController: UIViewController {
|
||||||
super.viewDidLoad()
|
super.viewDidLoad()
|
||||||
// Do any additional setup after loading the view.
|
// Do any additional setup after loading the view.
|
||||||
|
|
||||||
|
BeginTurnBtn.titleLabel?.font = UIFont(name: "Papyrus", size: 18)!
|
||||||
|
|
||||||
if (GlobalVars.activePlayerInt < GlobalVars.playerCount-1) {
|
if (GlobalVars.activePlayerInt < GlobalVars.playerCount-1) {
|
||||||
GlobalVars.activePlayerInt = GlobalVars.activePlayerInt + 1
|
GlobalVars.activePlayerInt = GlobalVars.activePlayerInt + 1
|
||||||
|
|
||||||
|
@ -113,6 +121,9 @@ class PlayerStartController: UIViewController {
|
||||||
playerNameLabel.text = GlobalVars.currentPlayer.name
|
playerNameLabel.text = GlobalVars.currentPlayer.name
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@IBOutlet weak var BeginTurnBtn: UIButton!
|
||||||
|
|
||||||
@IBAction func BeginTurnButton(_ sender: Any) {
|
@IBAction func BeginTurnButton(_ sender: Any) {
|
||||||
|
|
||||||
let mainStoryboard = UIStoryboard(name: "Main", bundle: Bundle.main)
|
let mainStoryboard = UIStoryboard(name: "Main", bundle: Bundle.main)
|
||||||
|
@ -222,6 +233,8 @@ class GameEndController: UIViewController, UIPickerViewDelegate, UIPickerViewDat
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
StartBtn.titleLabel?.font = UIFont(name: "Papyrus", size: 18)!
|
||||||
//let winnerPlayer = GlobalVars.players.max { a, b in a.medallions < b.medallions }
|
//let winnerPlayer = GlobalVars.players.max { a, b in a.medallions < b.medallions }
|
||||||
|
|
||||||
var winnerPlayer = player()
|
var winnerPlayer = player()
|
||||||
|
@ -326,6 +339,10 @@ class GameEndController: UIViewController, UIPickerViewDelegate, UIPickerViewDat
|
||||||
playerStats.dataSource = self
|
playerStats.dataSource = self
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@IBOutlet var StartBtn: UIButton!
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@IBAction func StartGame(_ sender: Any) {
|
@IBAction func StartGame(_ sender: Any) {
|
||||||
print("New game!")
|
print("New game!")
|
||||||
//GlobalVars.playerCount = playerCountPicker.selectedRow(inComponent: 0) + 2
|
//GlobalVars.playerCount = playerCountPicker.selectedRow(inComponent: 0) + 2
|
||||||
|
|