Show / Hide Table of Contents

    Class BuyBaseCollectorStateAction

    Removes the buy Currency from the player and changes the generator state to Produce

    Inheritance
    Object
    BuyBaseCollectorStateAction
    BuyCollectorStateAction
    BuyGeneratorStateAction
    Namespace: IdleKit.Gameplay
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class BuyBaseCollectorStateAction : IStateAction

    Constructors

    BuyBaseCollectorStateAction()

    Declaration
    protected BuyBaseCollectorStateAction()

    Fields

    _baseCollectorEntity

    Declaration
    protected IBaseCollectorEntity _baseCollectorEntity
    Field Value
    Type Description
    IBaseCollectorEntity

    _currencyService

    Declaration
    protected ICurrencyService _currencyService
    Field Value
    Type Description
    ICurrencyService

    _entityResolver

    Declaration
    protected IEntityResolver _entityResolver
    Field Value
    Type Description
    IEntityResolver

    _timerService

    Declaration
    protected ITimerService _timerService
    Field Value
    Type Description
    ITimerService

    _typesToDispatchAs

    Declaration
    protected Type[] _typesToDispatchAs
    Field Value
    Type Description
    Type[]

    Properties

    BaseCollectorEntity

    Declaration
    public virtual IBaseCollectorEntity BaseCollectorEntity { get; }
    Property Value
    Type Description
    IBaseCollectorEntity

    TypesToDispatchAs

    Declaration
    public virtual Type[] TypesToDispatchAs { get; }
    Property Value
    Type Description
    Type[]

    Methods

    Apply()

    Declaration
    public virtual void Apply()

    BeginProduction()

    Declaration
    protected virtual void BeginProduction()

    Initialize(IBaseCollectorEntity)

    Declaration
    public virtual void Initialize(IBaseCollectorEntity baseCollectorEntity)
    Parameters
    Type Name Description
    IBaseCollectorEntity baseCollectorEntity

    Inject(IResolver)

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

    PayForGenerator()

    Declaration
    protected virtual void PayForGenerator()

    ResetAction()

    Declaration
    public virtual void ResetAction()

    SetAvailableAndObtainedAssociatedCurrencies()

    Declaration
    protected virtual void SetAvailableAndObtainedAssociatedCurrencies()
    Back to top Copyright © 2020 East Side Games Inc.