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
@@ -19,9 +19,9 @@ namespace Assets.Scripts.Actions
}
public void ApplyAction(PlayerManager playerController)
public void ApplyAction(Player playerController)
{
playerController.PlayerStats[GameManager.StatsId.Food].increase(_energy);
playerController.PlayerStats[StatsId.Food].increase(_energy);
}
}
}