abstract class GSF::Game
- GSF::Game
- Reference
- Object
Defined in:
gsf/game.crConstant Summary
-
DefaultBackgroundColor =
SF::Color.new(0, 0, 0)
Constructors
Instance Method Summary
- #background_color
- #clock : SF::Clock
- #draw(window : SF::RenderWindow)
- #event(event)
- #exit? : Bool
- #joystick_threshold
- #mouse_cursor_visible
- #run
- #stage : Stage
- #target_height : UInt32 | Nil
- #update(frame_time : Float32)
- #vsync
- #window : SF::RenderWindow
Constructor Detail
def self.new(title = "", mode = SF::VideoMode.desktop_mode, style = SF::Style::None, target_height : UInt32 | Nil = nil)
#