class DemoController

Defined in:

demo/demo_controller.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 #

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

def self.godot_class_name : String #

def self.godot_parent_class_name : String #

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 #
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).


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.


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.


def _process(delta : Float64) : Void #
Description copied from class Godot::Node

Per-frame process callback receiving delta timestep in seconds (Float64).


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

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