Interface IStage
Assembly: cs.temp.dll.dll
Syntax
public interface IStage : IEntity, IInjectable, IModifiable
Properties
ActiveGoals
Declaration
[Obsolete("Deprecated in version L.1, use GetActiveGoals() instead.", true)]
IGoal[] ActiveGoals { get; }
Property Value
GeneratorEntities
Declaration
IGeneratorEntity[] GeneratorEntities { get; }
Property Value
GoalTracks
Declaration
IGoalTrack[] GoalTracks { get; }
Property Value
StageData
Declaration
IStageData StageData { get; }
Property Value
StageSavedData
Declaration
IStageSavedData StageSavedData { get; }
Property Value
StoreUpgradeableCurrencyCollections
Declaration
IStoreUpgradeableCurrencyCollection[] StoreUpgradeableCurrencyCollections { get; }
Property Value
Methods
CanAscend()
Returns true if the player can ascend to the next IStage.
Declaration
Returns
ClaimGoal(IGoal)
Claims the active IGoal from the IStage, does nothing if IGoal is
not claimable.
Declaration
void ClaimGoal(IGoal goal)
Parameters
Type |
Name |
Description |
IGoal |
goal |
|
GetActiveGoal(Int32)
Declaration
[Obsolete("Deprecated in version L.1, use GetActiveGoals() instead.", true)]
IGoal GetActiveGoal(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
GetActiveGoals()
Returns the currently active IGoal controllers associated with this IStage.
Declaration
Returns
GetAscensionPower(Boolean, Double, IModifier[])
Returns the ascension power a player has for this IStage. If applyModifiers
is true, all IModifier that affect the value will be applied. Ascension power can only be
affected by IModifier.
Declaration
double GetAscensionPower(bool applyModifiers = true, double ascensionPower = 1, IModifier[] excludedModifiers = null)
Parameters
Returns
Examples
IUpgradeableCurrency
GetGenerator(String)
Declaration
IGeneratorEntity GetGenerator(string id)
Parameters
Type |
Name |
Description |
String |
id |
|
Returns
GetGoal(String)
Returns the IGoal with the provided id
so long as it is in this IStage
else, returns null.
Declaration
Parameters
Type |
Name |
Description |
String |
id |
|
Returns
GetNumberOfCompletedGoals()
Returns the number of completed goals in this IStage.
Declaration
int GetNumberOfCompletedGoals()
Returns