Mercurial > hg > ristipolku
changeset 129:a0376e40102e
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 24 Nov 2011 21:09:57 +0200 |
parents | 584a226318b0 |
children | 792bf87886e7 |
files | game/AnimatedPointElement.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/game/AnimatedPointElement.java Thu Nov 24 21:09:27 2011 +0200 +++ b/game/AnimatedPointElement.java Thu Nov 24 21:09:57 2011 +0200 @@ -22,11 +22,11 @@ { Random rnd = new Random(); steps = 100; + lerpX = new Interpolate(start.x - rnd.nextInt(100) + 50, start.x, steps); lerpY = new Interpolate(start.y - rnd.nextInt(100) + 50, start.y, steps); lerpV = new Interpolate(0.0f, 1.0f, steps); - pos = new IDMPoint(start); active = false; first = true;