Search Results for

    Show / Hide Table of Contents

    Class EntityHealthStateHandler

    Inheritance
    Object
    EntityHealthStateHandler
    Namespace: RTSEngine.Health
    Assembly: cs.temp.dll.dll
    Syntax
    public class EntityHealthStateHandler

    Properties

    logger

    Declaration
    protected IGameLoggingService logger { get; }
    Property Value
    Type Description
    IGameLoggingService

    Source

    Declaration
    public IEntityHealth Source { get; }
    Property Value
    Type Description
    IEntityHealth

    Methods

    Activate(EntityHealthState)

    Declaration
    public void Activate(EntityHealthState newState)
    Parameters
    Type Name Description
    EntityHealthState newState

    Init(IGameManager, IEntityHealth, Int32)

    Declaration
    public void Init(IGameManager gameMgr, IEntityHealth source, int statesCount)
    Parameters
    Type Name Description
    IGameManager gameMgr
    IEntityHealth source
    Int32 statesCount

    Reset(IReadOnlyList<EntityHealthState>, Int32)

    Declaration
    public void Reset(IReadOnlyList<EntityHealthState> states, int currHealth)
    Parameters
    Type Name Description
    System.Collections.Generic.IReadOnlyList<EntityHealthState> states
    Int32 currHealth

    Update(Boolean, Int32)

    Declaration
    public void Update(bool healthIncrease, int currHealth)
    Parameters
    Type Name Description
    Boolean healthIncrease
    Int32 currHealth
    In This Article
    Back to top Unity RTS Engine Documentation