class

GSF::Game

Inherits Reference < Object

Constants

DefaultBackgroundColor = SF::Color.new(0, 0, 0)

Constructors

new(title = "", mode = SF::VideoMode.desktop_mode, style = SF::Style::None, target_height : UInt32 | Nil = nil)
Source

Instance methods

background_color
Source
clock
Source
draw(window : SF::RenderWindow)
Source
event(event)
Source
exit?
Source
joystick_threshold
Source
mouse_cursor_visible
Source
stage
Source
target_height
Source
update(frame_time : Float32)
Source
vsync
Source
window
Source