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 = "") #

Instance Method Detail

def class_name : String #

def constants : Array(ConstantInfo) #

def constants=(constants : Array(ConstantInfo)) #

def create_proc : Pointer(Void) -> Object #

def has_enter_tree : Bool #

def has_enter_tree=(has_enter_tree : Bool) #

def has_exit_tree : Bool #

def has_exit_tree=(has_exit_tree : Bool) #

def has_gui_input : Bool #

def has_gui_input=(has_gui_input : Bool) #

def has_input : Bool #

def has_input=(has_input : Bool) #

def has_physics_process : Bool #

def has_physics_process=(has_physics_process : Bool) #

def has_process : Bool #

def has_process=(has_process : Bool) #

def has_ready : Bool #

def has_ready=(has_ready : Bool) #

def has_shortcut_input : Bool #

def has_shortcut_input=(has_shortcut_input : Bool) #

def has_unhandled_input : Bool #

def has_unhandled_input=(has_unhandled_input : Bool) #

def has_unhandled_key_input : Bool #

def has_unhandled_key_input=(has_unhandled_key_input : Bool) #

def has_virtual_method?(name : String) : Bool #

def has_virtual_proc : String -> Bool | Nil #

def has_virtual_proc=(has_virtual_proc : String -> Bool | Nil) #

def icon_path : String #

def icon_path=(icon_path : String) #

def is_abstract : Bool #

def is_abstract=(is_abstract : Bool) #

def is_tool : Bool #

def is_tool=(is_tool : Bool) #

def parent_name : String #

def properties : Array(PropertyInfo) #

def properties=(properties : Array(PropertyInfo)) #

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

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

def script_path : String #

def script_path=(script_path : String) #

def signals : Array(SignalInfo) #

def signals=(signals : Array(SignalInfo)) #