Show / Hide Table of Contents

    Interface IGoal

    An IGoal is an IActivatable that is contained in an ITrack or one or more sequences in an IStage. The player can make progress towards an IGoals progression target. Once an IGoal progression target has been hit the IGoal can be claimed and the player can be rewarded.

    Inherited Members
    IActivatable.ActivatableData
    IActivatable.Activate()
    IActivatable.Deactivate()
    IActivatable.Reset()
    IActivatable.IsActive
    IEntity.Id
    IEntity.Initialize()
    IEntity.Cleanup(IEntityLoaderService)
    Namespace: IdleKit.Gameplay
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IGoal : IActivatable, IEntity, IInjectable

    Properties

    CanClaim

    Returns true if the IGoal can be claimed.

    Declaration
    bool CanClaim { get; }
    Property Value
    Type Description
    Boolean

    CurrentProgression

    Returns the progress of the IGoal

    Declaration
    double CurrentProgression { get; }
    Property Value
    Type Description
    Double

    GoalData

    Returns the IGoalData associated to this IGoal.

    Declaration
    IGoalData GoalData { get; }
    Property Value
    Type Description
    IGoalData

    GoalSavedData

    Returns the saved data associated with this IGoal.

    Declaration
    IGoalSavedData GoalSavedData { get; }
    Property Value
    Type Description
    IGoalSavedData

    NormalizedProgress

    Returns the current progression as a normalized value (0 - 1).

    Declaration
    double NormalizedProgress { get; }
    Property Value
    Type Description
    Double

    TargetProgression

    Returns the target progression amount for this IGoal.

    Declaration
    double TargetProgression { get; }
    Property Value
    Type Description
    Double
    Back to top Copyright © 2020 East Side Games Inc.