Skip to main content

Class: WorldController

This page documents the methods and fields available in the WorldController class.

Members

SignatureDescription
countObjectsWithTag(String)Performs the countObjectsWithTag operation using the provided parameters (tagName).
findFirstActiveComponent(Class)Performs the findFirstActiveComponent operation using the provided parameters (classReference).
findFirstComponent(Class)Performs the findFirstComponent operation using the provided parameters (classReference).
findObject(String)Performs the findObject operation using the provided parameters (name).
findObjectWithTag(String)Performs the findObjectWithTag operation using the provided parameters (tagName).
findObjectsWithTag(String)Performs the findObjectsWithTag operation using the provided parameters (tagName).
findRandomObjectWithTag(String)Performs the findRandomObjectWithTag operation using the provided parameters (tagName).
getGraphicsSettings()Returns the current graphics settings.
getLightSettings()Returns the current light settings.
getLoadMessage()Returns the current load message.
getLoadPercent()Returns the current load percent.
getLoadProgress()Returns the current load progress.
getLoadTotal()Returns the current load total.
getLoadedCount()Returns the current loaded count.
getObject(int)Returns the current object.
getObjectList()Returns the current object list.
getObjectsCount()Returns the current objects count.
getPathFinder()Returns the current path finder.
getPhysicsSettings()Returns the current physics settings.
hasObjectsWithTag(String)Returns whether objects with tag is true.
isLoaded()Returns whether loaded is true.
isLoading()Returns whether loading is true.
listAllComponents(Class)Performs the listAllComponents operation using the provided parameters (classReference).
listAllComponents(String)Performs the listAllComponents operation using the provided parameters (tittle).
loadWorld(WorldFile)Loads world into the object.
loadWorldAsync(WorldFile)Loads world async into the object.
onFailed()Performs the onFailed operation.
onFailed()Performs the onFailed operation.
onSuccess()Performs the onSuccess operation.
onSuccess()Performs the onSuccess operation.