LogicFloatChangeOnBoolSaveData1
A class in Root.Township, Alta.Logic.
Version 1 save data for a LogicFloatChangeOnBool, migrated to LogicFloatChangeOnBoolSaveData2 when loaded.
- Listed in Items, inventory and logic
- Inherits or implements
OldSaveData - Attributes
SaveStructure
Constructors
| Member | What it is |
|---|---|
LogicFloatChangeOnBoolSaveData1() | Creates a LogicFloatChangeOnBoolSaveData1 with default values. |
Fields
| Member | What it is |
|---|---|
float currentValue | The float value when saved. |
LogicSaveData logicData | The logic identifier data. |
float moveSpeedPerSec | How fast the value moves per second. |
float targetValue | The value it was moving toward. |
float timeBeforeMoving | Delay left before it starts moving. |
Properties
| Member | What it is |
|---|---|
LogicSaveData LogicSaveData { get; set; } | Property over logicData. |
Methods
| Member | What it is |
|---|---|
override SaveData Migrate() | Copies every field into LogicFloatChangeOnBoolSaveData2. |