Summary
Determines how
PlatformerGameKit.Health.SetMaximumHealth(System.Int32,PlatformerGameKit.Health.HealthChangeMode)
affects the PlatformerGameKit.Health.CurrentHealth
.- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
- Base Types
-
- Enum
graph BT
Type-->Base0["Enum"]
Type["Health.HealthChangeMode"]
class Type type-node
Syntax
public enum Health.HealthChangeMode
Fields
Name | Constant Value | Summary |
---|---|---|
Ignore | 2 |
Do nothing to the
PlatformerGameKit.Health.CurrentHealth except clamping it to stay below the
PlatformerGameKit.Health.MaximumHealth if the change is a decrease.static
|
Offset | 1 |
Add the change directly to the
PlatformerGameKit.Health.CurrentHealth .static
|
Scale | 0 |
Get the
PlatformerGameKit.Health.CurrentHealth as a percentage of the PlatformerGameKit.Health.MaximumHealth before the
change then set it to that same percentage afterwards.
static
|