class MainNode

Overview

Main root node for the Diorite project

Defined in:

main.cr

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(&block : self -> ) : self #

Class Method Detail

def self._godot_auto_register_class : Void #

Main root node for the Diorite project


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

Main root node for the Diorite project


def self.godot_class_name : String #

Main root node for the Diorite project


def self.godot_parent_class_name : String #

Main root node for the Diorite project


Macro Detail

macro autoload(*args, **kwargs) #

DSL directives for in-body autoload configuration


macro autoload_node(*args, **kwargs) #

macro build(**kwargs, &block) #

macro create(**kwargs, &block) #

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.


def _godot_call_virtual(method_name : String, delta : Float64) : Void #

Main root node for the Diorite project


def _godot_get_property(prop_name : String, ret_ptr : Pointer(Void)) : Void #

Main root node for the Diorite project


def _godot_set_property(prop_name : String, val_ptr : Pointer(Void)) : Void #

Main root node for the Diorite project


def _ready : Void #
Description copied from class Godot::Node

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


def bind_initialized(callback : Proc(R), once : Bool = false) : UInt64 forall R #

def bind_initialized(once : Bool = false, &block : -> Void) : UInt64 #

def emit_initialized : Void #

def initialized : Godot::TypedSignal() #

def initialized=(val : Godot::BoundSignal) : Godot::BoundSignal #

Identity setter enabling compound operator sugar (node.initialized += ->handler, node.initialized -= ->handler)


def initialized_signal_hash : UInt64 #

def initialized_slot : Lapis::Core::StaticSignalSlot() #

def unbind_initialized(callback : Proc(R)) : Bool forall R #

def unbind_initialized(token : UInt64) : Bool #