@Override public void screenTargetMoved( final ScreenTarget target, final int x, final int y, final int height) { if (this.m_useTargetPositionning) { final Point2i position = this.getComputedPosition(x, y, height); super.setPosition(position.getX(), position.getY(), false); } }
@Override public void setPosition(final Point position) { if (!this.m_useTargetPositionning) { super.setPosition(position); } }
@Override public void setPosition(final int x, final int y, final boolean b) { if (!this.m_useTargetPositionning) { super.setPosition(x, y, b); } }