Class ScalingComponent
- Namespace
- ElectricDrill.SoapRpgFramework.Scaling
- Assembly
- com.electricdrill.soap-rpg-framework.Runtime.dll
Abstract base class for all scaling components. A scaling component calculates a value based on an entity's properties.
public abstract class ScalingComponent : ScriptableObject
- Inheritance
-
objectScalingComponent
- Derived
Methods
CalculateValue(EntityCore)
Calculates the value of this component based on the provided entity.
public abstract long CalculateValue(EntityCore entity)
Parameters
entityEntityCoreThe entity whose properties are used for calculation.
Returns
- long
The calculated value from this component.