Commands#

Below is an ever growing list of commands available for DragonRuby GTK.

Args#

Class: (class Object)::(class GTK::Args) args

Method Description
borders TBD
clear_render_targets TBD
click TBD
click_at TBD
controller_one TBD
controller_two TBD
destructure TBD
dragon TBD
game TBD
grid TBD
grid= TBD
gtk TBD
initialize TBD
inputs TBD
inputs= TBD
keyboard TBD
labels TBD
lines TBD
mouse TBD
outputs TBD
outputs= TBD
passes TBD
passes= TBD
primitives TBD
recording TBD
recording= TBD
render_target TBD
runtime TBD
runtime= TBD
serialize TBD
solids TBD
sprites TBD
state TBD
state= TBD
static_borders TBD
static_labels TBD
static_lines TBD
static_primitives TBD
static_solids TBD
static_sprites TBD


Inputs#

args.input

Method Description
controller_one TBD
controller_two TBD
controllers TBD
controllers= TBD
history TBD
history= TBD
initialize TBD
keyboard TBD
keyboard= TBD
mouse TBD
mouse= TBD
serialize TBD
text TBD
text= TBD


Controller_One#

args.inputs.controller_one

Method Description
clear TBD
initialize TBD
key_down TBD
key_down= TBD
key_held TBD
key_held= TBD
key_up TBD
key_up= TBD
left_analog_x_perc TBD
left_analog_x_perc= TBD
left_analog_x_raw TBD
left_analog_x_raw= TBD
left_analog_y_perc TBD
left_analog_y_perc= TBD
left_analog_y_raw TBD
left_analog_y_raw= TBD
left_right TBD
left_right= TBD
right_analog_x_perc TBD
right_analog_x_perc= TBD
right_analog_x_raw TBD
right_analog_x_raw= TBD
right_analog_y_perc TBD
right_analog_y_perc= TBD
right_analog_y_raw TBD
right_analog_y_raw= TBD
serialize TBD
up_down TBD
up_down= TBD


Controller_Two#

args.inputs.controller_two

Method Description
clear TBD
initialize TBD
key_down TBD
key_down= TBD
key_held TBD
key_held= TBD
key_up TBD
key_up= TBD
left_analog_x_perc TBD
left_analog_x_perc= TBD
left_analog_x_raw TBD
left_analog_x_raw= TBD
left_analog_y_perc TBD
left_analog_y_perc= TBD
left_analog_y_raw TBD
left_analog_y_raw= TBD
left_right TBD
left_right= TBD
right_analog_x_perc TBD
right_analog_x_perc= TBD
right_analog_x_raw TBD
right_analog_x_raw= TBD
right_analog_y_perc TBD
right_analog_y_perc= TBD
right_analog_y_raw TBD
right_analog_y_raw= TBD
serialize TBD
up_down TBD
up_down= TBD


Keyboard#

args.inputs.keyboard

Method Description
clear TBD
down TBD
has_focus TBD
has_focus= TBD
initialize TBD
inspect TBD
key_down TBD
key_down= TBD
key_held TBD
key_held= TBD
key_up TBD
key_up= TBD
left TBD
left_right TBD
right TBD
serialize TBD
to_s TBD
up TBD
up_down TBD


Mouse#

args.inputs.mouse

Method Description
clear TBD
click TBD
click= TBD
down TBD
has_focus TBD
has_focus= TBD
initialize TBD
moved TBD
moved= TBD
moved_at TBD
moved_at= TBD
moved_at_time TBD
moved_at_time= TBD
position TBD
previous_click TBD
previous_click= TBD
serialize TBD
up TBD
up= TBD
x TBD
x= TBD
y TBD
y= TBD


Grid#

args.grid

Method Description
__print_origin_help TBD
bottom TBD
bottom= TBD
center_x TBD
center_x= TBD
center_y TBD
center_y= TBD
h TBD
h_half TBD
initialize TBD
left TBD
left= TBD
name TBD
name= TBD
origin_bottom_left! TBD
origin_center! TBD
origin_x TBD
origin_x= TBD
origin_y TBD
origin_y= TBD
rect TBD
rect= TBD
right TBD
right= TBD
top TBD
top= TBD
transform_angle TBD
transform_rect TBD
transform_x TBD
transform_y TBD
untransform_x TBD
untransform_y TBD
w TBD
w_half TBD


Outputs#

Args.Outputs

Method Description
__borders= TBD
__labels= TBD
__lines= TBD
__primitives= TBD
__raise_deprecated__ TBD
__reserved= TBD
__solids= TBD
__sprites= TBD
__static_borders= TBD
__static_labels= TBD
__static_lines= TBD
__static_primitives= TBD
__static_reserved= TBD
__static_solids= TBD
__static_sprites= TBD
all_borders TBD
all_labels TBD
all_lines TBD
all_primitives TBD
all_reserved TBD
all_solids TBD
all_sounds TBD
all_sprites TBD
borders TBD
borders= TBD
clear TBD
clear_non_static TBD
height TBD
height= TBD
initialize TBD
labels TBD
labels= TBD
lines TBD
lines= TBD
primitives TBD
primitives= TBD
reserved TBD
reserved= TBD
serialize TBD
solids TBD
solids= TBD
sounds TBD
sounds= TBD
sprites TBD
sprites= TBD
static_borders TBD
static_borders= TBD
static_labels TBD
static_labels= TBD
static_lines TBD
static_lines= TBD
static_primitives TBD
static_primitives= TBD
static_reserved TBD
static_reserved= TBD
static_solids TBD
static_solids= TBD
static_sprites TBD
static_sprites= TBD
target TBD
target= TBD
tick TBD
width TBD
width= TBD


Labels#

Args.Outputs.Labels

Option (bold denotes mandatory) Description
x Location on X-Axis
y Location on Y-Axis
text Text to display
size_enum Default :0.
Positive values increase the label size
Negative values decrease the label size..
alignment_enum Default (Left Aligned):0
Center Aligned: 1
Right Aligned: 2
r Red value (0-255)
g Green value (0-255)
b Blue value (0-255
a Alpha value (0-255)
font Location of font file


State#

Class: (class Object)::(class GTK::OpenEntity)

args.state

Method Description
|==| tbd
__contains_array_indexers__ tbd
__contains_array_indexers__= tbd
__get_hash_property__ tbd
__meta__ tbd
__reserved_keys__ tbd
__set_hash_property__ tbd
__touched__ tbd
__touched__= tbd
attributes tbd
clear! tbd
created_at_elapsed tbd
documenter_success tbd
entity_id tbd
global_created_at_elapsed tbd
hash tbd
initialize tbd
inspect tbd
meta tbd
meta! tbd
method_missing tbd
new? tbd
new_entity tbd
new_entity_strict tbd
old? tbd
original_eq_eq tbd
set! tbd
tick_count= tbd
to_s tbd
with_meta tbd


New Entity#

Class: (class Object)::(class GTK::OpenEntity) args.state.new_entity

Method Description
== TBD
contains_array_indexers TBD
contains_array_indexers= TBD
get_hash_property TBD
meta TBD
reserved_keys TBD
set_hash_property TBD
touched TBD
touched= TBD
attributes TBD
clear! TBD
created_at= TBD
created_at_elapsed TBD
entity_id TBD
entity_type= TBD
global_created_at= TBD
global_created_at_elapsed TBD
hash TBD
initialize TBD
inspect TBD
meta TBD
meta! TBD
method_missing TBD
new? TBD
new_entity TBD
new_entity_strict TBD
old? TBD
original_eq_eq TBD
set! TBD
to_s TBD
with_meta TBD