diff --git a/GGJ17/Assets/Material/NodeColor.mat b/GGJ17/Assets/Material/NodeColor.mat index 7f9771e..56a99bd 100644 Binary files a/GGJ17/Assets/Material/NodeColor.mat and b/GGJ17/Assets/Material/NodeColor.mat differ diff --git a/GGJ17/Assets/Prefab/BuildingBlocks/Building_LandingPod.prefab b/GGJ17/Assets/Prefab/BuildingBlocks/Building_LandingPod.prefab index 5c17411..0ae1581 100644 Binary files a/GGJ17/Assets/Prefab/BuildingBlocks/Building_LandingPod.prefab and b/GGJ17/Assets/Prefab/BuildingBlocks/Building_LandingPod.prefab differ diff --git a/GGJ17/Assets/Prefab/Node.prefab b/GGJ17/Assets/Prefab/Node.prefab index 951fb12..69ef90e 100644 Binary files a/GGJ17/Assets/Prefab/Node.prefab and b/GGJ17/Assets/Prefab/Node.prefab differ diff --git a/GGJ17/Assets/Scene/BlockTest.unity b/GGJ17/Assets/Scene/BlockTest.unity index 485d5d7..7117104 100644 Binary files a/GGJ17/Assets/Scene/BlockTest.unity and b/GGJ17/Assets/Scene/BlockTest.unity differ diff --git a/GGJ17/Assets/Script/Blocks/AbstractBaseBuilding.cs b/GGJ17/Assets/Script/Blocks/AbstractBaseBuilding.cs index 9f29896..daa58db 100644 --- a/GGJ17/Assets/Script/Blocks/AbstractBaseBuilding.cs +++ b/GGJ17/Assets/Script/Blocks/AbstractBaseBuilding.cs @@ -20,5 +20,6 @@ public float HP public void DestroyBuilding() { + Destroy(gameObject); } } diff --git a/GGJ17/Assets/Script/Blocks/Building/Building_Flag.cs b/GGJ17/Assets/Script/Blocks/Building/Building_Flag.cs new file mode 100644 index 0000000..1466f4d --- /dev/null +++ b/GGJ17/Assets/Script/Blocks/Building/Building_Flag.cs @@ -0,0 +1,15 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class Building_Flag : AbstractBaseBuilding { + + // Use this for initialization + void Awake () { + BuildingBlockInit bbi = new BuildingBlockInit(); + bbi.up = false; + bbi.down = true; + bbi.sides = false; + Init(bbi); + } +} diff --git a/GGJ17/Assets/Script/Blocks/Building/Building_Flag.cs.meta b/GGJ17/Assets/Script/Blocks/Building/Building_Flag.cs.meta new file mode 100644 index 0000000..38743c7 --- /dev/null +++ b/GGJ17/Assets/Script/Blocks/Building/Building_Flag.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 4d1176973bb47a847b5915ced1821044 +timeCreated: 1484960809 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: