Instance methods
init(window :
SF::RenderWindow, load_default_font :
Bool = true)
Sourceinit(window :
SF::Window, target :
SF::RenderTarget, load_default_font :
Bool = true)
Sourceinit(window :
SF::Window, display_size :
SF::Vector2f, load_default_font :
Bool = true)
Sourceprocess_event(window : SF::Window, event : SF::Event)
Sourceprocess_event(event : SF::Event)
DEPRECATED Use #process_event(Window, Event) instead
Sourcerender(target : SF::RenderTarget)
Sourceset_active_joystick_id(joystick_id :
Int)
Sourceset_current_window(window : SF::Window)
Sourceset_dpad_x_axis(dpad_x_axis :
SF::Joystick::Axis, inverted :
Bool = false)
Sourceset_dpad_y_axis(dpad_y_axis :
SF::Joystick::Axis, inverted :
Bool = false)
Sourceset_l_stick_x_axis(l_stick_x_axis :
SF::Joystick::Axis, inverted :
Bool = false)
Sourceset_l_stick_y_axis(l_stick_y_axis :
SF::Joystick::Axis, inverted :
Bool = false)
Sourceset_l_trigger_axis(l_trigger_axis : SF::Joystick::Axis)
Sourceset_r_stick_x_axis(r_stick_x_axis :
SF::Joystick::Axis, inverted :
Bool = false)
Sourceset_r_stick_y_axis(r_stick_y_axis :
SF::Joystick::Axis, inverted :
Bool = false)
Sourceset_r_trigger_axis(r_trigger_axis : SF::Joystick::Axis)
Sourceshutdown(window : SF::Window)
Sourceupdate(window : SF::Window, target : SF::RenderTarget, dt : SF::Time)
Sourceupdate(mouse_pos : SF::Vector2i, display_size : SF::Vector2f, dt : SF::Time)
Sourceupdate(window : SF::RenderWindow, dt : SF::Time)
Sourceupdate_font_texture
Source