Interface IGoalTrack
An ITrack whose list of IActivatables are IGoals.
Inherited Members
Namespace: IdleKit.Gameplay
Assembly: cs.temp.dll.dll
Syntax
public interface IGoalTrack : ITrack, IActivatable, IEntity, IInjectable
Properties
CurrentGoal
Returns the currently active IGoal in this IGoalTrack based on the CurrentActivatableIndex, returns null otherwise.
Declaration
IGoal CurrentGoal { get; }
Property Value
Type | Description |
---|---|
IGoal |
Goals
Returns a list of IGoals associated with this IGoalTrack.
Declaration
IGoal[] Goals { get; }
Property Value
Type | Description |
---|---|
IGoal[] |
Methods
ClaimGoal(IGoal)
Declaration
void ClaimGoal(IGoal goal)
Parameters
Type | Name | Description |
---|---|---|
IGoal | goal |