Class FrameUpdateListenerDemo
java.lang.Object
de.pirckheimer_gymnasium.engine_pi.Scene
de.pirckheimer_gymnasium.engine_pi_demos.event.FrameUpdateListenerDemo
- All Implemented Interfaces:
ActorAdder,FrameUpdateListener,FrameUpdateListenerRegistration,KeyStrokeListenerRegistration,MouseClickListenerRegistration,MouseScrollListenerRegistration
Demonstriert die Methode
FrameUpdateListener.onFrameUpdate(double).-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.pirckheimer_gymnasium.engine_pi.Scene
add, addLayer, getBackgroundColor, getCamera, getFrameUpdateListeners, getGravity, getKeyStrokeListeners, getMainLayer, getMouseClickListeners, getMousePosition, getMouseScrollListeners, getScene, getVisibleArea, getWorldHandler, invokeFrameUpdateListeners, isPhysicsPaused, remove, removeLayer, render, setBackgroundColor, setBackgroundColor, setGravity, setGravity, setGravityOfEarth, setPhysicsPaused, stepMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.pirckheimer_gymnasium.engine_pi.actor.ActorAdder
addCircle, addCircle, addCircle, addCircle, addCircle, addHexagon, addHexagon, addHexagon, addHexagon, addHexagon, addImage, addImage, addPentagon, addPentagon, addPentagon, addRectangle, addRectangle, addRectangle, addRegularPolygon, addRegularPolygon, addRegularPolygon, addRegularPolygon, addText, addText, addText, addText, addTriangle, addTriangle, addTriangle, addTriangle, addTriangleMethods inherited from interface de.pirckheimer_gymnasium.engine_pi.event.FrameUpdateListenerRegistration
addFrameUpdateListener, defer, delay, removeFrameUpdateListener, repeat, repeat, repeat, repeat, repeatMethods inherited from interface de.pirckheimer_gymnasium.engine_pi.event.KeyStrokeListenerRegistration
addKeyStrokeListener, removeKeyStrokeListenerMethods inherited from interface de.pirckheimer_gymnasium.engine_pi.event.MouseClickListenerRegistration
addMouseClickListener, removeMouseClickListenerMethods inherited from interface de.pirckheimer_gymnasium.engine_pi.event.MouseScrollListenerRegistration
addMouseScrollListener, removeMouseScrollListener
-
Constructor Details
-
FrameUpdateListenerDemo
public FrameUpdateListenerDemo()
-
-
Method Details
-
onFrameUpdate
public void onFrameUpdate(double pastTime) - Specified by:
onFrameUpdatein interfaceFrameUpdateListener
-
main
-