Package be.yildizgames.module.window.swt
Class SwtGameWindow
- java.lang.Object
-
- be.yildizgames.module.window.swt.SwtGameWindow
-
public final class SwtGameWindow extends Object
Game main rendering window.- Author:
- Grégory Van den Borre
-
-
Constructor Summary
Constructors Constructor Description SwtGameWindow()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.swt.widgets.CanvasgetCanvas()voidinitialize(SwtWindow window, boolean fullScreenMode, be.yildizgames.module.coordinate.Coordinates c)Build the window in the SWT thread.voidshowCursor()Set the mouse cursor visible.
-
-
-
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.
-
-