Added player task system. simple interaction with objects. Known issue - no player stats canvas

This commit is contained in:
Vladimir Koshevarov
2023-02-21 18:58:06 +02:00
parent 7c26b80584
commit 59d2f7cc30
46 changed files with 2289 additions and 3121 deletions
+2 -2
View File
@@ -12,9 +12,9 @@ namespace Assets.Scripts.Actions
public string Description => throw new System.NotImplementedException();
public void ApplyAction(PlayerManager playerController)
public void ApplyAction(Player playerController)
{
playerController.PlayerStats[GameManager.StatsId.Energy].increase(_energyPerTick);
playerController.PlayerStats[StatsId.Energy].increase(_energyPerTick);
}
}
}