25 lines
558 B
C#
25 lines
558 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class Stone_Buildings : Buildings
|
||
|
{
|
||
|
/* public override bool Check_Upgrade()
|
||
|
{
|
||
|
if (Resources.Instance.stone > upgrade_Needs[Level - 1])
|
||
|
{
|
||
|
return true;
|
||
|
}
|
||
|
return false;
|
||
|
}*/
|
||
|
public override void AddResources_Click()
|
||
|
{
|
||
|
Resources.Instance.stone += Level * 5;
|
||
|
//Debug.Log("Click_Tree");
|
||
|
}
|
||
|
public override void AddResources_Auto()
|
||
|
{
|
||
|
Resources.Instance.stone += Level - 1;
|
||
|
}
|
||
|
}
|