DummyWindowEnginepublic interface WindowEngine
| Modifier and Type | Method | Description |
|---|---|---|
void |
createCursor(Cursor cursor) |
Create a new cursor.
|
void |
deleteLoadingResources() |
Delete the resources used when loading the engine.
|
WindowHandle |
getHandle() |
|
Size |
getScreenSize() |
|
void |
hideCursor() |
Hide the mouse.
|
void |
registerInput(WindowInputListener listener) |
Add an input listener to retrieve input event from this window.
|
void |
setCursor(Cursor cursor) |
Set a new cursor in the game window.
|
void |
setWindowIcon(String file) |
Set the window icon.
|
void |
setWindowTitle(String title) |
Set the title for the main window.
|
void |
showCursor() |
Display the mouse.
|
void |
updateWindow() |
Update the window wrapping the game viewports.
|
void createCursor(Cursor cursor)
cursor - Contains the data to build the cursor.void setWindowTitle(String title)
title - Title to print.void setCursor(Cursor cursor)
cursor - Cursor to use.void updateWindow()
void showCursor()
void hideCursor()
Size getScreenSize()
void setWindowIcon(String file)
file - Icon file.void deleteLoadingResources()
WindowHandle getHandle()
void registerInput(WindowInputListener listener)
listener - Listener to add.Copyright © 2014–2018. All rights reserved.