AUTO-GENERATED FILE — DO NOT EDIT MANUALLY
Source: components/grid/grid_level_context_component.gd
Version: 6.0
class_name: GridLevelContextComponent
extends: Component
Signals
(none)
Exports
level_id: String = ""- Level name
- Level dimensions
- Current active grid
- Level state
- Level configuration
- Level progression data
- Initialize level context with data
level_name: String = ""- Level dimensions
- Current active grid
- Level state
- Level configuration
- Level progression data
- Initialize level context with data
level_size: Vector2i = Vector2i.ZERO- Current active grid
- Level state
- Level configuration
- Level progression data
- Initialize level context with data
current_grid_id: String = ""- Level state
- Level configuration
- Level progression data
- Initialize level context with data
level_state: String = “active” # active, paused, completed- Level configuration
- Level progression data
- Initialize level context with data
config: Dictionary = {}- Level progression data
- Initialize level context with data
progression: Dictionary = {}- Initialize level context with data
Methods
_init(data: Dictionary = {}) -> voidset_level_size(width: int, height: int) -> voidis_active -> boolset_level_state(state: String) -> voidget_config(key: String, default_value: Variant = null) -> Variantset_config(key: String, value: Variant) -> voidget_progression(key: String, default_value: Variant = null) -> Variantset_progression(key: String, value: Variant) -> voidis_position_valid(pos: Vector2i) -> boolclamp_position(pos: Vector2i) -> Vector2iget_level_area -> intvalidate -> Arrayto_string -> String