br.com.etyllica.commons.animation.script.FadeInAnimation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of etyllica Show documentation
Show all versions of etyllica Show documentation
A game engine made in pure java.
package br.com.etyllica.commons.animation.script;
import br.com.etyllica.layer.Layer;
public class FadeInAnimation extends OpacityAnimation {
{
startValue = 0;
endValue = 255;
}
public FadeInAnimation(Layer target) {
super(target);
}
public FadeInAnimation(long time){
super(time);
}
public FadeInAnimation(long delay, long time){
super(delay, time);
}
public FadeInAnimation(Layer target, long time){
super(target, time);
}
public FadeInAnimation(Layer target, long delay, long time){
super(target, delay, time);
}
@Override
public void onStart() {
target.setOpacity((int) startValue);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy