Search Results for

    Show / Hide Table of Contents

    Class BaseMovementFormationHandler

    Inheritance
    Object
    BaseMovementFormationHandler
    CircularMovementFormationHandler
    RowMovementFormationHandler
    Implements
    IMovementFormationHandler
    IMonoBehaviour
    Namespace: RTSEngine.Movement
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class BaseMovementFormationHandler : MonoBehaviour, IMovementFormationHandler, IMonoBehaviour

    Properties

    FallbackFormationType

    Declaration
    public MovementFormationType FallbackFormationType { get; }
    Property Value
    Type Description
    MovementFormationType

    FormationType

    Declaration
    public MovementFormationType FormationType { get; }
    Property Value
    Type Description
    MovementFormationType

    gameMgr

    Declaration
    protected IGameManager gameMgr { get; }
    Property Value
    Type Description
    IGameManager

    logger

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

    MaxEmptyAttempts

    Declaration
    public int MaxEmptyAttempts { get; }
    Property Value
    Type Description
    Int32

    mvtMgr

    Declaration
    protected IMovementManager mvtMgr { get; }
    Property Value
    Type Description
    IMovementManager

    terrainMgr

    Declaration
    protected ITerrainManager terrainMgr { get; }
    Property Value
    Type Description
    ITerrainManager

    Methods

    GeneratePathDestinations(PathDestinationInputData, ref Int32, ref Single, ref List<Vector3>, out Int32)

    Declaration
    public abstract ErrorMessage GeneratePathDestinations(PathDestinationInputData input, ref int amount, ref float offset, ref List<Vector3> pathDestinations, out int generatedAmount)
    Parameters
    Type Name Description
    PathDestinationInputData input
    Int32 amount
    System.Single offset
    List<Vector3> pathDestinations
    Int32 generatedAmount
    Returns
    Type Description
    ErrorMessage

    Init(IGameManager)

    Declaration
    public void Init(IGameManager gameMgr)
    Parameters
    Type Name Description
    IGameManager gameMgr

    IsConditionFulfilled(PathDestinationInputData, Vector3)

    Declaration
    protected ErrorMessage IsConditionFulfilled(PathDestinationInputData input, Vector3 testPosition)
    Parameters
    Type Name Description
    PathDestinationInputData input
    Vector3 testPosition
    Returns
    Type Description
    ErrorMessage

    OnInit()

    Declaration
    protected virtual void OnInit()

    Implements

    IMovementFormationHandler
    IMonoBehaviour
    In This Article
    Back to top Unity RTS Engine Documentation