Restore behavior runtime state from typed Continue
This commit is contained in:
parent
c8b58fa44f
commit
01fc810eb4
23 changed files with 406 additions and 13 deletions
|
|
@ -48,4 +48,10 @@ public class Shield : Behavior, IProgressBehavior
|
|||
}
|
||||
|
||||
public virtual float Progress => Item.ThermalPerformance;
|
||||
|
||||
public void RestoreRuntimeState(float efficiency, float energyUsage)
|
||||
{
|
||||
Efficiency = efficiency;
|
||||
EnergyUsage = energyUsage;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue