Class SwtGameWindow


  • public final class SwtGameWindow
    extends Object
    Game main rendering window.
    Author:
    Grégory Van den Borre
    • Constructor Detail

      • SwtGameWindow

        public SwtGameWindow()
        Constructor.
    • Method Detail

      • initialize

        public void initialize​(SwtWindow window,
                               boolean fullScreenMode,
                               be.yildizgames.module.coordinate.Coordinates c)
        Build the window in the SWT thread.
        Parameters:
        window - Window to use as container.
      • getCanvas

        public org.eclipse.swt.widgets.Canvas getCanvas()
        Returns:
        The SWT canvas.
      • showCursor

        public void showCursor()
        Set the mouse cursor visible.