Class SubActionBlock<T>Abstract

Type Parameters

Hierarchy

Constructors

  • Create a new codeblock.

    Type Parameters

    • T extends "repeat" | "call_func" | "func" | "start_process" | "process" | "player_action" | "if_player" | "control" | "set_var" | "entity_event" | "event" | "if_entity" | "entity_action" | "if_var" | "select_obj" | "game_action" | "else" | "if_game"

    Parameters

    • type: T

      Type of the codeblock.

    • action: DFBlockAction<T>

      The action to check for.

    • subAction: string
    • args: DFValueType[]

      Arguments to pass.

    • isInverted: boolean = false

      If the codeblock is inverted (mostly for conditional blocks).

    Returns SubActionBlock<T>

Properties

_componentName: string = "serializable"

The component's name

action: DFBlockAction<T>

The action to check for.

args: DFValueType[]

Arguments to pass.

isInverted: boolean = false

If the codeblock is inverted (mostly for conditional blocks).

subAction: string
type: T

Type of the codeblock.

Methods

Generated using TypeDoc