Search Results for

    Show / Hide Table of Contents

    Interface IEntityWorkerManager

    Namespace: RTSEngine.EntityComponent
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IEntityWorkerManager : IAddableUnit

    Properties

    Amount

    Declaration
    int Amount { get; }
    Property Value
    Type Description
    Int32

    Entity

    Declaration
    IEntity Entity { get; }
    Property Value
    Type Description
    IEntity

    HasMaxAmount

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

    MaxAmount

    Declaration
    int MaxAmount { get; }
    Property Value
    Type Description
    Int32

    Workers

    Declaration
    IReadOnlyList<IUnit> Workers { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<IUnit>

    Methods

    GetOccupiedPosition(IUnit, out Vector3)

    Declaration
    bool GetOccupiedPosition(IUnit worker, out Vector3 position)
    Parameters
    Type Name Description
    IUnit worker
    Vector3 position
    Returns
    Type Description
    Boolean

    Remove(IUnit)

    Declaration
    void Remove(IUnit worker)
    Parameters
    Type Name Description
    IUnit worker

    Events

    WorkerAdded

    Declaration
    event CustomEventHandler<IEntity, EntityEventArgs<IUnit>> WorkerAdded
    Event Type
    Type Description
    CustomEventHandler<IEntity, EntityEventArgs<IUnit>>

    WorkerRemoved

    Declaration
    event CustomEventHandler<IEntity, EntityEventArgs<IUnit>> WorkerRemoved
    Event Type
    Type Description
    CustomEventHandler<IEntity, EntityEventArgs<IUnit>>
    In This Article
    Back to top Unity RTS Engine Documentation