Example #1
0
    public void TurnIn(PlayerEnergy playerEnergy)
    {
        // Get soals from pEnergy, reset to 0 instantly
        int amountAdded = playerEnergy.SacrificeSouls();
        gameManager.AddScore(playerEnergy.team, amountAdded);
        Debug.Log("Turn in ok");

        // TODO: Trigger animations
    }