class Godot::ClassRegistry::Entry

Defined in:

libgodot/macros.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(class_name : String, parent_name : String, create_proc : Pointer(Void) -> Object, is_tool : Bool = false, has_ready : Bool = false, has_process : Bool = false, has_physics_process : Bool = false, has_enter_tree : Bool = false, has_exit_tree : Bool = false, has_input : Bool = false, has_unhandled_input : Bool = false, has_unhandled_key_input : Bool = false, has_shortcut_input : Bool = false, has_gui_input : Bool = false, properties : Array(PropertyInfo) = [] of PropertyInfo, signals : Array(SignalInfo) = [] of SignalInfo, icon_path : String = "", is_abstract : Bool = false, rpc_methods : Array(NamedTuple(name: String, rpc_mode: Int32, transfer_mode: Int32, call_local: Bool, channel: Int32)) = [] of NamedTuple(name: String, rpc_mode: Int32, transfer_mode: Int32, call_local: Bool, channel: Int32), has_virtual_proc : String -> Bool | Nil = nil, constants : Array(ConstantInfo) = [] of ConstantInfo, script_path : String = "") #

[View source]

Instance Method Detail

def class_name : String #

[View source]
def constants : Array(ConstantInfo) #

[View source]
def constants=(constants : Array(ConstantInfo)) #

[View source]
def create_proc : Pointer(Void) -> Object #

[View source]
def has_enter_tree : Bool #

[View source]
def has_enter_tree=(has_enter_tree : Bool) #

[View source]
def has_exit_tree : Bool #

[View source]
def has_exit_tree=(has_exit_tree : Bool) #

[View source]
def has_gui_input : Bool #

[View source]
def has_gui_input=(has_gui_input : Bool) #

[View source]
def has_input : Bool #

[View source]
def has_input=(has_input : Bool) #

[View source]
def has_physics_process : Bool #

[View source]
def has_physics_process=(has_physics_process : Bool) #

[View source]
def has_process : Bool #

[View source]
def has_process=(has_process : Bool) #

[View source]
def has_ready : Bool #

[View source]
def has_ready=(has_ready : Bool) #

[View source]
def has_shortcut_input : Bool #

[View source]
def has_shortcut_input=(has_shortcut_input : Bool) #

[View source]
def has_unhandled_input : Bool #

[View source]
def has_unhandled_input=(has_unhandled_input : Bool) #

[View source]
def has_unhandled_key_input : Bool #

[View source]
def has_unhandled_key_input=(has_unhandled_key_input : Bool) #

[View source]
def has_virtual_method?(name : String) : Bool #

[View source]
def has_virtual_proc : String -> Bool | Nil #

[View source]
def has_virtual_proc=(has_virtual_proc : String -> Bool | Nil) #

[View source]
def icon_path : String #

[View source]
def icon_path=(icon_path : String) #

[View source]
def is_abstract : Bool #

[View source]
def is_abstract=(is_abstract : Bool) #

[View source]
def is_tool : Bool #

[View source]
def is_tool=(is_tool : Bool) #

[View source]
def parent_name : String #

[View source]
def properties : Array(PropertyInfo) #

[View source]
def properties=(properties : Array(PropertyInfo)) #

[View source]
def rpc_methods : Array(NamedTuple(name: String, rpc_mode: Int32, transfer_mode: Int32, call_local: Bool, channel: Int32)) #

[View source]
def rpc_methods=(rpc_methods : Array(NamedTuple(name: String, rpc_mode: Int32, transfer_mode: Int32, call_local: Bool, channel: Int32))) #

[View source]
def script_path : String #

[View source]
def script_path=(script_path : String) #

[View source]
def signals : Array(SignalInfo) #

[View source]
def signals=(signals : Array(SignalInfo)) #

[View source]