added minimap

This commit is contained in:
DerTyp187
2021-10-02 13:42:24 +02:00
parent d3dc582f95
commit 2959b3f6e4
17 changed files with 228 additions and 257 deletions

View File

@@ -14,15 +14,12 @@ public class HouseConstruction : BuildingConstruction
public override void Init()
{
gameManager = GameObject.Find("GameManager");
gameManager.GetComponent<EventLog>().CreateEvent("Construction: House");
}
public override bool CheckForResources()
{
if (havingWood == neededWood)
{
gameManager.GetComponent<EventLog>().CreateEvent("Construction: House: finished");
return true;
}
return false;