Package scenes
Class DemoTopDown
java.lang.Object
scene.Scene
scenes.DemoTopDown
-
Field Summary
Fields inherited from class scene.Scene
camera, debugRenderer, forwardToScreen, lightmapRenderer, renderer, textRenderer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
awake()
Runs only once on startup, useful for initializing gameObjects or for first time setup.static void
void
postProcess
(Texture texture) Apply post processing to a texturevoid
update()
This method is called every frame, and can be used to update objects.Methods inherited from class scene.Scene
activate, addGameObjectToScene, addToRenderers, addUiObject, camera, clean, deactivate, debugRender, getColliders, getGameObjects, initRenderers, isActive, registerCollider, registerRenderer, removeGameObjectFromScene, render, sceneId, startGameObjects, startUi, textRender, unregisterCollider, updateGameObjects, updateUI
-
Constructor Details
-
DemoTopDown
public DemoTopDown()
-
-
Method Details
-
main
-
awake
public void awake()Description copied from class:Scene
Runs only once on startup, useful for initializing gameObjects or for first time setup. -
update
public void update()Description copied from class:Scene
This method is called every frame, and can be used to update objects. -
postProcess
Description copied from class:Scene
Apply post processing to a texture- Overrides:
postProcess
in classScene
- Parameters:
texture
- input texture
-