void IStatus.Update()
        {
            _Status.Update();

            var damage = _Player.HaveDamage();

            _ProcessDamage(damage);

            var deltaTime = _TimeCounter.Second;

            _TimeCounter.Reset();
            _Player.RecoveryStrength(deltaTime);
            _Player.RecoveryHealth(deltaTime);
        }
Exemple #2
0
 void IStatus <Timestamp> .Update(Timestamp Obj)
 {
     m_Machine.Update(Obj);
 }
Exemple #3
0
 bool IUpdatable <Timestamp> .Update(Timestamp Arg)
 {
     _Machine.Update(Arg);
     return(true);
 }