Package libshapedraw.animation.trident

Examples of libshapedraw.animation.trident.Timeline.playLoop()


        // pointing at a specific block.
        Timeline timeline = new Timeline(vector);
        timeline.addPropertyToInterpolate("y", vector.getY(), vector.getY() - 30.0);
        timeline.setEase(new Sine());
        timeline.setDuration(3500);
        timeline.playLoop(RepeatBehavior.LOOP);
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.