summaryrefslogtreecommitdiff
path: root/GameCode/TreasureChest.cs
blob: cf18502195bd4fe516f2d81c649b746c54edc798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using UnityEngine;

public class TreasureChest : MonoBehaviour, IBuildable
{
	[SerializeField]
	private GameObject uiObject;

	public int numberOfDrops = 1;

	private void Start()
	{
	}

	public void SpawnUI()
	{
		Object.Instantiate(uiObject, base.transform.position, Quaternion.identity).GetComponent<TreasureUI>().myChest = base.gameObject;
	}

	public void Demolish()
	{
	}

	public void SetStats()
	{
	}
}