Interface IStageSavedData
Saved data for a IStage.
Inherited Members
Namespace: IdleKit.Framework
Assembly: cs.temp.dll.dll
Syntax
public interface IStageSavedData : ISavedData, IInjectable
Properties
activeGoalIndices
The currently active index into each of the activeGoals slots.
Declaration
int[] activeGoalIndices { get; }
Property Value
Type | Description |
---|---|
Int32[] |
hasStarted
A flag representing whether the IStage has previously been started.
Declaration
bool hasStarted { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Ascend()
Performs any logic when the IStage ascends, such as resetting the activeGoalIndices.
Declaration
void Ascend()
BeginStage()
Performs any logic when the IStage begins, such as setting the hasStarted flag.
Declaration
void BeginStage()
ClaimGoal(Int32)
Bumps the activeGoalIndices for the slot specified.
Declaration
void ClaimGoal(int slotIndex)
Parameters
Type | Name | Description |
---|---|---|
Int32 | slotIndex |
GetNumberOfCompletedGoals()
Declaration
int GetNumberOfCompletedGoals()
Returns
Type | Description |
---|---|
Int32 |