ModeState

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

Maintains the state of the Grid Builder mode and emits signals when it changes.

Source File: addons/grid_building/mode/mode_state.gd

Extends: GBResource

Signals

  • Signal: mode_changed(building_current: GBEnums.Mode) - Emitted whenever the building mode on the building state changes.

Exported Properties

  • Property: current = GBEnums.Mode.OFF: - The active mode that the system is in for modifying the game world.

Public Methods

get_editor_issues

1
get_editor_issues() -> Array[String]

Returns an array of issues found during editor validation


get_runtime_issues

1
get_runtime_issues() -> Array[String]

Returns an array of issues found during runtime validation