WindowEnginepublic class DummyWindowEngine extends Object implements WindowEngine
| Constructor | Description |
|---|---|
DummyWindowEngine() |
| 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.
|
public void createCursor(Cursor cursor)
WindowEnginecreateCursor in interface WindowEnginecursor - Contains the data to build the cursor.public void setWindowTitle(String title)
WindowEnginesetWindowTitle in interface WindowEnginetitle - Title to print.public void setCursor(Cursor cursor)
WindowEnginesetCursor in interface WindowEnginecursor - Cursor to use.public void updateWindow()
WindowEngineupdateWindow in interface WindowEnginepublic void showCursor()
WindowEngineshowCursor in interface WindowEnginepublic void hideCursor()
WindowEnginehideCursor in interface WindowEnginepublic Size getScreenSize()
getScreenSize in interface WindowEnginepublic void setWindowIcon(String file)
WindowEnginesetWindowIcon in interface WindowEnginefile - Icon file.public void deleteLoadingResources()
WindowEnginedeleteLoadingResources in interface WindowEnginepublic WindowHandle getHandle()
getHandle in interface WindowEnginepublic void registerInput(WindowInputListener listener)
WindowEngineregisterInput in interface WindowEnginelistener - Listener to add.Copyright © 2014–2018. All rights reserved.