Class ApplyImpulseDemo
java.lang.Object
de.pirckheimer_gymnasium.engine_pi.Scene
de.pirckheimer_gymnasium.engine_pi_demos.physics.single_aspects.ApplyImpulseDemo
- All Implemented Interfaces:
ActorAdder,FrameUpdateListenerRegistration,KeyStrokeListener,KeyStrokeListenerRegistration,MouseClickListenerRegistration,MouseScrollListenerRegistration
Demonstriert die Methode
Actor.applyImpulse(double,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.KeyStrokeListener
onKeyUpMethods 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
-
ApplyImpulseDemo
public ApplyImpulseDemo()
-
-
Method Details
-
onKeyDown
- Specified by:
onKeyDownin interfaceKeyStrokeListener
-
main
-