package controller; public class ReboundController extends ObjectController { @Override public void updateObject() { // TODO Auto-generated method stub if(this.getX() < 30 || this.getX() > 670) { this.setVX(getVX() * -1); } else if(this.getY() > 670 || this.getY() < 30) this.setVY(getVY() * -1); { } this.applySpeedVector(); } }