Module: MiniGL::G
- Defined in:
- lib/minigl/global.rb
Overview
This module contains references to global objects/constants used by MiniGL.
Class Attribute Summary collapse
-
.double_click_delay ⇒ Object
Gets or sets the value of double_click_delay.
-
.gravity ⇒ Object
Gets or sets the value of gravity.
-
.kb_held_delay ⇒ Object
Gets or sets the value of kb_held_delay.
-
.kb_held_interval ⇒ Object
Gets or sets the value of kb_held_interval.
-
.min_speed ⇒ Object
Gets or sets the value of min_speed.
-
.ramp_contact_threshold ⇒ Object
Gets or sets the value of ramp_contact_threshold.
-
.ramp_slip_force ⇒ Object
Gets or sets the value of ramp_slip_force.
-
.ramp_slip_threshold ⇒ Object
Gets or sets the value of ramp_slip_threshold.
-
.window ⇒ Object
A reference to the game window.
Class Attribute Details
.double_click_delay ⇒ Object
Gets or sets the value of double_click_delay. See GameWindow#initialize
for details.
159 160 161 |
# File 'lib/minigl/global.rb', line 159 def double_click_delay @double_click_delay end |
.gravity ⇒ Object
Gets or sets the value of gravity. See GameWindow#initialize
for details.
131 132 133 |
# File 'lib/minigl/global.rb', line 131 def gravity @gravity end |
.kb_held_delay ⇒ Object
Gets or sets the value of kb_held_delay. See GameWindow#initialize
for details.
151 152 153 |
# File 'lib/minigl/global.rb', line 151 def kb_held_delay @kb_held_delay end |
.kb_held_interval ⇒ Object
Gets or sets the value of kb_held_interval. See GameWindow#initialize
for details.
155 156 157 |
# File 'lib/minigl/global.rb', line 155 def kb_held_interval @kb_held_interval end |
.min_speed ⇒ Object
Gets or sets the value of min_speed. See GameWindow#initialize
for details.
135 136 137 |
# File 'lib/minigl/global.rb', line 135 def min_speed @min_speed end |
.ramp_contact_threshold ⇒ Object
Gets or sets the value of ramp_contact_threshold. See GameWindow#initialize
for details.
139 140 141 |
# File 'lib/minigl/global.rb', line 139 def ramp_contact_threshold @ramp_contact_threshold end |
.ramp_slip_force ⇒ Object
Gets or sets the value of ramp_slip_force. See GameWindow#initialize
for details.
147 148 149 |
# File 'lib/minigl/global.rb', line 147 def ramp_slip_force @ramp_slip_force end |
.ramp_slip_threshold ⇒ Object
Gets or sets the value of ramp_slip_threshold. See GameWindow#initialize
for details.
143 144 145 |
# File 'lib/minigl/global.rb', line 143 def ramp_slip_threshold @ramp_slip_threshold end |
.window ⇒ Object
A reference to the game window.
127 128 129 |
# File 'lib/minigl/global.rb', line 127 def window @window end |