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

Class Attribute Details

.double_click_delayObject

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

.gravityObject

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_delayObject

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_intervalObject

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_speedObject

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_thresholdObject

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_forceObject

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_thresholdObject

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

.windowObject

A reference to the game window.



127
128
129
# File 'lib/minigl/global.rb', line 127

def window
  @window
end