Added player task system. simple interaction with objects. Known issue - no player stats canvas
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user