Skip to content

Commit

Permalink
Flag update
Browse files Browse the repository at this point in the history
  • Loading branch information
LEM-II\Ilja committed Jan 22, 2017
1 parent 030e0ba commit 74652eb
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 0 deletions.
Binary file modified GGJ17/Assets/Material/NodeColor.mat
Binary file not shown.
Binary file modified GGJ17/Assets/Prefab/BuildingBlocks/Building_LandingPod.prefab
Binary file not shown.
Binary file modified GGJ17/Assets/Prefab/Node.prefab
Binary file not shown.
Binary file modified GGJ17/Assets/Scene/BlockTest.unity
Binary file not shown.
1 change: 1 addition & 0 deletions GGJ17/Assets/Script/Blocks/AbstractBaseBuilding.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ public float HP
public void DestroyBuilding()
{

Destroy(gameObject);
}
}
15 changes: 15 additions & 0 deletions GGJ17/Assets/Script/Blocks/Building/Building_Flag.cs
Original file line number Diff line number Diff line change
@@ -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);
}
}
12 changes: 12 additions & 0 deletions GGJ17/Assets/Script/Blocks/Building/Building_Flag.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 74652eb

Please sign in to comment.