class MainNode

Overview

Main root node for the Diorite project

Defined in:

main.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self._godot_has_virtual_method(method_name : String) : Bool #

[View source]
def self.godot_class_name : String #

[View source]
def self.godot_parent_class_name : String #

[View source]

Instance Method Detail

def _godot_call_tool_button(button_name : String) : Void #
Description copied from class Godot::Object

Dispatches inspector tool button clicks on this object.


[View source]
def _godot_call_virtual(method_name : String, delta : Float64) : Void #
Description copied from class Godot::Object

Virtual method and property dispatch hooks overridden by class registration macros. Delta timestep is received with 64-bit precision (Float64).


[View source]
def _godot_get_property(prop_name : String, ret_ptr : Pointer(Void)) : Void #
Description copied from class Godot::Object

Invoked by the GDExtension bridge when retrieving an exposed @export property.


[View source]
def _godot_set_property(prop_name : String, val_ptr : Pointer(Void)) : Void #
Description copied from class Godot::Object

Invoked by the GDExtension bridge when setting an exposed @export property.


[View source]
def _ready : Void #
Description copied from class Godot::Node

Lifecycle callback called when the node enters the active scene tree.


[View source]
def emit_initialized : Void #

Type-safe emission helper


[View source]
def initialized : Godot::TypedSignal() #

Bound signal accessor for idiomatic await(node.initialized) or node.initialized.connect { ... }


[View source]
def on_initialized(&block : -> Void) : Godot::SignalSubscription #

Type-safe signal listener


[View source]
def on_initialized_once(&block : -> Void) : Godot::SignalSubscription #

One-shot type-safe signal listener that automatically disconnects after firing once


[View source]