Package arc.mock
Class MockApplication
java.lang.Object
arc.mock.MockApplication
- All Implemented Interfaces:
Application,Disposable
-
Nested Class Summary
Nested classes/interfaces inherited from interface arc.Application
Application.ApplicationType -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface arc.Application
addListener, defaultUpdate, dispose, getDeltaTime, getDnsServers, getFrameId, getFramesPerSecond, getJavaHeap, getMainThread, getVersion, isAndroid, isDesktop, isHeadless, isIOS, isMobile, isOnMainThread, isWeb, removeListenerMethods inherited from interface arc.util.Disposable
isDisposed
-
Constructor Details
-
MockApplication
public MockApplication()
-
-
Method Details
-
getListeners
Description copied from interface:ApplicationReturns a list of all the application listeners used.- Specified by:
getListenersin interfaceApplication
-
getType
- Specified by:
getTypein interfaceApplication- Returns:
- what
Application.ApplicationTypethis application has, e.g. Android or Desktop
-
post
Description copied from interface:ApplicationPosts a runnable on the main loop thread.- Specified by:
postin interfaceApplication
-
exit
public void exit()Description copied from interface:ApplicationSchedule an exit from the application. On android, this will cause a call to pause() and dispose() some time in the future, it will not immediately finish your application.- Specified by:
exitin interfaceApplication
-