◆ DeserializeHealthComponent()
| HealthComponentData? IuvoUnity.Configurations.HealthConfiguration.DeserializeHealthComponent |
( |
| ) |
|
53 {
54
55 return null;
56
57
58
59
60 }
◆ GetDefaultExperienceCurve()
| AnimationCurve IuvoUnity.Configurations.HealthConfiguration.GetDefaultExperienceCurve |
( |
| ) |
|
◆ GetFullHealthTable()
| Dictionary< int, int > IuvoUnity.Configurations.HealthConfiguration.GetFullHealthTable |
( |
| ) |
|
Returns a dictionary mapping each level to the cumulative EXP required to reach that level.
- Returns
92 {
93 Dictionary<int, int> healthTable = new Dictionary<int, int>();
94 for (int level = 1; level <= MaxLevel; level++)
95 {
96 healthTable[level] = GetMaxHealthAtLevel(level);
97 }
98 return healthTable;
99 }
References GetMaxHealthAtLevel(), and MaxLevel.
◆ GetMaxHealthAtLevel()
| int IuvoUnity.Configurations.HealthConfiguration.GetMaxHealthAtLevel |
( |
int | level | ) |
|
◆ ImplementDefaultScalingAlgorithm()
| virtual void IuvoUnity.Configurations.HealthConfiguration.ImplementDefaultScalingAlgorithm |
( |
| ) |
|
|
protectedvirtual |
◆ OnDisable()
| virtual void IuvoUnity.Configurations.HealthConfiguration.OnDisable |
( |
| ) |
|
|
virtual |
◆ OnEnable()
| virtual void IuvoUnity.Configurations.HealthConfiguration.OnEnable |
( |
| ) |
|
|
virtual |
◆ PrintInfo()
| override void IuvoUnity.Configurations.HealthConfiguration.PrintInfo |
( |
| ) |
|
|
virtual |
◆ Serialize()
| void IuvoUnity.Configurations.HealthConfiguration.Serialize |
( |
HealthComponentData | HealthComponent | ) |
|
◆ SetLevelScalingCurve()
| void IuvoUnity.Configurations.HealthConfiguration.SetLevelScalingCurve |
( |
AnimationCurve | newHealthCurve | ) |
|
◆ BaseHealth
| int IuvoUnity.Configurations.HealthConfiguration.BaseHealth = 100 |
◆ DefaultHealthGrowth
| AnimationCurve IuvoUnity.Configurations.HealthConfiguration.DefaultHealthGrowth |
|
private |
Initial value: = new AnimationCurve(
new Keyframe(1, 100),
new Keyframe(25, 25000),
new Keyframe(50, 150000),
new Keyframe(75, 2500000),
new Keyframe(100, 50000000)
)
Referenced by GetDefaultExperienceCurve().
◆ healthCurve
| AnimationCurve IuvoUnity.Configurations.HealthConfiguration.healthCurve |
|
private |
◆ lastHealthComponentData
26{ MaxHealth = -100, CurrentLevel = -1, CurrentHealth = -1 };
◆ MaxLevel
| int IuvoUnity.Configurations.HealthConfiguration.MaxLevel |
|
get |
The documentation for this class was generated from the following file: