Example usage for com.badlogic.gdx.scenes.scene2d Actor moveBy

List of usage examples for com.badlogic.gdx.scenes.scene2d Actor moveBy

Introduction

In this page you can find the example usage for com.badlogic.gdx.scenes.scene2d Actor moveBy.

Prototype

public void moveBy(float x, float y) 

Source Link

Document

Add x and y to current position

Usage

From source file:es.eucm.ead.editor.view.builders.scene.groupeditor.SelectionGroup.java

License:Open Source License

public void move(float deltaX, float deltaY) {
    for (Actor selectionBox : getChildren()) {
        selectionBox.moveBy(deltaX, deltaY);
    }/*  w  w  w .j a v  a 2 s.  c  o m*/
}