Skip to content
Snippets Groups Projects
Commit 58ddcadb authored by Matyáš Latner's avatar Matyáš Latner
Browse files

Merge branch 'feature-pursuit' into 'devel'

Feature pursuit



See merge request !170
parents 0af4fc61 d9764375
Branches feature-crimescene-translations
No related tags found
No related merge requests found
......@@ -6,7 +6,6 @@ import com.badlogic.gdx.scenes.scene2d.Actor;
import com.badlogic.gdx.scenes.scene2d.InputEvent;
import com.badlogic.gdx.scenes.scene2d.InputListener;
import com.badlogic.gdx.scenes.scene2d.actions.Actions;
import com.badlogic.gdx.utils.TimeUtils;
import java.util.LinkedHashMap;
......@@ -24,7 +23,7 @@ import cz.nic.tablexia.game.games.pursuit.model.PuzzlePiece;
public class DragAndRotateActorListener extends InputListener {
private static final int DRAGGED_PIECE_ZINDEX = 25;
public static final float ROTATION_ANIMATION_DURATION = 0.3f;
public static final float MOVETO_ANIMATION_DURATION = 0.4f;
public static final float MOVETO_ANIMATION_DURATION = 0.2f;
private float grabX, grabY;
private float initialFingersAngle;
private Actor draggedActor;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment