mo' fling
This commit is contained in:
parent
3f49361e4a
commit
a2abbe5197
@ -409,10 +409,10 @@ public class MapEventLayer extends Layer implements InputListener, GestureListen
|
|||||||
|
|
||||||
private boolean doFling(float velocityX, float velocityY) {
|
private boolean doFling(float velocityX, float velocityY) {
|
||||||
|
|
||||||
int w = Tile.SIZE * 3;
|
int w = Tile.SIZE * 5;
|
||||||
int h = Tile.SIZE * 3;
|
int h = Tile.SIZE * 5;
|
||||||
|
|
||||||
mMap.animator().animateFling(velocityX, velocityY,
|
mMap.animator().animateFling(velocityX * 2, velocityY * 2,
|
||||||
-w, w, -h, h);
|
-w, w, -h, h);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user