Package controller

Class ReboundController2

java.lang.Object
controller.ObjectController
controller.ReboundController2

public class ReboundController2 extends ObjectController
Controller to let Objects bounce from the outer level limits back and forth.
  • Constructor Details

    • ReboundController2

      public ReboundController2()
  • Method Details

    • updateObject

      public void updateObject()
      inverts the x y direction speeds if the outer limits are reached.
      Specified by:
      updateObject in class ObjectController