Beispiel #1
0
    public void Update()
    {
        status.AddStatusEffect(completedEffect);
        status.AddStatusEffect(ongoingEffect);

        status.Update(TIME_DELTA);
        status.Update(TIME_DELTA);

        completedEffect.Received(1).Apply(status.stats, TIME_DELTA);
        ongoingEffect.Received(2).Apply(status.stats, TIME_DELTA);
    }
Beispiel #2
0
 void SetupPlayerStatus()
 {
     playerStatus.AddStatusEffect(new StaminaRegenEffect());
 }