Show / Hide Table of Contents

    Class ProduceState

    Inheritance
    Object
    ProduceState
    Implements
    IProduceState
    IGeneratorState
    IInjectable
    ITimerListener
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ToString()
    Object.ReferenceEquals(Object, Object)
    Namespace: IdleKit.Gameplay
    Assembly: cs.temp.dll.dll
    Syntax
    public class ProduceState : IProduceState, IGeneratorState, IInjectable, ITimerListener

    Fields

    _baseCollectorEntity

    Declaration
    protected IBaseCollectorEntity _baseCollectorEntity
    Field Value
    Type Description
    IBaseCollectorEntity

    _progress

    Declaration
    protected float _progress
    Field Value
    Type Description
    Single

    _timerService

    Declaration
    protected ITimerService _timerService
    Field Value
    Type Description
    ITimerService

    _timerSubscription

    Declaration
    protected ITimerSubscription _timerSubscription
    Field Value
    Type Description
    ITimerSubscription

    Properties

    CanAutomate

    Declaration
    public virtual bool CanAutomate { get; }
    Property Value
    Type Description
    Boolean

    CanBuy

    Declaration
    public virtual bool CanBuy { get; }
    Property Value
    Type Description
    Boolean

    CanCollect

    Declaration
    public virtual bool CanCollect { get; }
    Property Value
    Type Description
    Boolean

    CanIncrementGeneratorUnit

    Declaration
    public virtual bool CanIncrementGeneratorUnit { get; }
    Property Value
    Type Description
    Boolean

    GeneratorStateType

    Declaration
    public virtual string GeneratorStateType { get; }
    Property Value
    Type Description
    String

    Progress

    Declaration
    public virtual float Progress { get; }
    Property Value
    Type Description
    Single

    TimerSubscription

    Declaration
    public virtual ITimerSubscription TimerSubscription { get; }
    Property Value
    Type Description
    ITimerSubscription

    Methods

    Enter(IBaseCollectorEntity, IGeneratorState)

    Declaration
    public virtual void Enter(IBaseCollectorEntity baseCollectorEntity, IGeneratorState previousState)
    Parameters
    Type Name Description
    IBaseCollectorEntity baseCollectorEntity
    IGeneratorState previousState

    Exit(IGeneratorState)

    Declaration
    public virtual void Exit(IGeneratorState nextState)
    Parameters
    Type Name Description
    IGeneratorState nextState

    Inject(IResolver)

    Declaration
    public virtual void Inject(IResolver resolver)
    Parameters
    Type Name Description
    IResolver resolver

    OnTimerEnded(Int64)

    Declaration
    public virtual void OnTimerEnded(long count)
    Parameters
    Type Name Description
    Int64 count

    RefreshTimer()

    Declaration
    public virtual void RefreshTimer()

    SubscribeToTimerService(Int64)

    Declaration
    protected virtual void SubscribeToTimerService(long startTimestamp)
    Parameters
    Type Name Description
    Int64 startTimestamp

    UpdateProgression(Single)

    Declaration
    public virtual void UpdateProgression(float progression)
    Parameters
    Type Name Description
    Single progression

    Implements

    IProduceState
    IGeneratorState
    IInjectable
    ITimerListener
    Back to top Copyright © 2020 East Side Games Inc.