Start Unit PLacement

navmesh not working yet
This commit is contained in:
Kirabsol 2025-01-27 23:37:59 +01:00
parent afe60bae57
commit 49c5e6df9f
19 changed files with 40382 additions and 89 deletions

View file

@ -4,6 +4,9 @@ using UnityEngine;
public static class GlobalsVariable
{
public static int money=100;
public static List<AbstractUnit> AliveUnitsTeamA = new List<AbstractUnit>();
public static List<AbstractUnit> AliveUnitsTeamB = new List<AbstractUnit>();
@ -18,4 +21,14 @@ public static class GlobalsVariable
{ "Sorcičre",3 },
{ "Golem",8 }
};
public static void Pay(int X)
{
money -= X;
}
public static void Gain(int Y)
{
money += Y;
}
}