public class IOSMini2DxGame
extends java.lang.Object
implements com.badlogic.gdx.Application
Modifier and Type | Class and Description |
---|---|
static class |
IOSMini2DxGame.Delegate |
Constructor and Description |
---|
IOSMini2DxGame(GameContainer game,
IOSMini2DxConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
addLifecycleListener(com.badlogic.gdx.LifecycleListener listener) |
void |
addViewControllerListener(com.badlogic.gdx.backends.iosrobovm.IOSViewControllerListener listener)
Add a listener to handle events from the libgdx root view controller
|
void |
debug(java.lang.String tag,
java.lang.String message) |
void |
debug(java.lang.String tag,
java.lang.String message,
java.lang.Throwable exception) |
void |
error(java.lang.String tag,
java.lang.String message) |
void |
error(java.lang.String tag,
java.lang.String message,
java.lang.Throwable exception) |
void |
exit() |
ApplicationListener |
getApplicationListener() |
com.badlogic.gdx.ApplicationLogger |
getApplicationLogger() |
com.badlogic.gdx.Audio |
getAudio() |
protected org.robovm.apple.coregraphics.CGRect |
getBounds()
GL View spans whole screen, that is, even under the status bar.
|
protected org.robovm.apple.coregraphics.CGRect |
getCachedBounds() |
com.badlogic.gdx.utils.Clipboard |
getClipboard() |
com.badlogic.gdx.Files |
getFiles() |
com.badlogic.gdx.Graphics |
getGraphics() |
com.badlogic.gdx.Input |
getInput() |
long |
getJavaHeap() |
int |
getLogLevel() |
long |
getNativeHeap() |
com.badlogic.gdx.Net |
getNet() |
com.badlogic.gdx.Preferences |
getPreferences(java.lang.String name) |
com.badlogic.gdx.Application.ApplicationType |
getType() |
org.robovm.apple.uikit.UIViewController |
getUIViewController()
Return the UI view controller of IOSApplication
|
org.robovm.apple.uikit.UIWindow |
getUIWindow()
Return the UI Window of IOSApplication
|
int |
getVersion() |
void |
log(java.lang.String tag,
java.lang.String message) |
void |
log(java.lang.String tag,
java.lang.String message,
java.lang.Throwable exception) |
void |
postRunnable(java.lang.Runnable runnable) |
void |
processRunnables() |
void |
removeLifecycleListener(com.badlogic.gdx.LifecycleListener listener) |
void |
setApplicationLogger(com.badlogic.gdx.ApplicationLogger applicationLogger) |
void |
setLogLevel(int logLevel) |
public IOSMini2DxGame(GameContainer game, IOSMini2DxConfig config)
public org.robovm.apple.uikit.UIViewController getUIViewController()
public org.robovm.apple.uikit.UIWindow getUIWindow()
protected org.robovm.apple.coregraphics.CGRect getBounds()
protected org.robovm.apple.coregraphics.CGRect getCachedBounds()
public ApplicationListener getApplicationListener()
getApplicationListener
in interface com.badlogic.gdx.Application
public com.badlogic.gdx.Graphics getGraphics()
getGraphics
in interface com.badlogic.gdx.Application
public com.badlogic.gdx.Audio getAudio()
getAudio
in interface com.badlogic.gdx.Application
public com.badlogic.gdx.Input getInput()
getInput
in interface com.badlogic.gdx.Application
public com.badlogic.gdx.Files getFiles()
getFiles
in interface com.badlogic.gdx.Application
public com.badlogic.gdx.Net getNet()
getNet
in interface com.badlogic.gdx.Application
public void log(java.lang.String tag, java.lang.String message)
log
in interface com.badlogic.gdx.Application
public void log(java.lang.String tag, java.lang.String message, java.lang.Throwable exception)
log
in interface com.badlogic.gdx.Application
public void error(java.lang.String tag, java.lang.String message)
error
in interface com.badlogic.gdx.Application
public void error(java.lang.String tag, java.lang.String message, java.lang.Throwable exception)
error
in interface com.badlogic.gdx.Application
public void debug(java.lang.String tag, java.lang.String message)
debug
in interface com.badlogic.gdx.Application
public void debug(java.lang.String tag, java.lang.String message, java.lang.Throwable exception)
debug
in interface com.badlogic.gdx.Application
public void setLogLevel(int logLevel)
setLogLevel
in interface com.badlogic.gdx.Application
public int getLogLevel()
getLogLevel
in interface com.badlogic.gdx.Application
public void setApplicationLogger(com.badlogic.gdx.ApplicationLogger applicationLogger)
setApplicationLogger
in interface com.badlogic.gdx.Application
public com.badlogic.gdx.ApplicationLogger getApplicationLogger()
getApplicationLogger
in interface com.badlogic.gdx.Application
public com.badlogic.gdx.Application.ApplicationType getType()
getType
in interface com.badlogic.gdx.Application
public int getVersion()
getVersion
in interface com.badlogic.gdx.Application
public long getJavaHeap()
getJavaHeap
in interface com.badlogic.gdx.Application
public long getNativeHeap()
getNativeHeap
in interface com.badlogic.gdx.Application
public com.badlogic.gdx.Preferences getPreferences(java.lang.String name)
getPreferences
in interface com.badlogic.gdx.Application
public void postRunnable(java.lang.Runnable runnable)
postRunnable
in interface com.badlogic.gdx.Application
public void processRunnables()
public void exit()
exit
in interface com.badlogic.gdx.Application
public com.badlogic.gdx.utils.Clipboard getClipboard()
getClipboard
in interface com.badlogic.gdx.Application
public void addLifecycleListener(com.badlogic.gdx.LifecycleListener listener)
addLifecycleListener
in interface com.badlogic.gdx.Application
public void removeLifecycleListener(com.badlogic.gdx.LifecycleListener listener)
removeLifecycleListener
in interface com.badlogic.gdx.Application
public void addViewControllerListener(com.badlogic.gdx.backends.iosrobovm.IOSViewControllerListener listener)
listener
- The {#link IOSViewControllerListener} to add