examples.images.GifViewer 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 examples.images;
import br.com.etyllica.Etyllica;
import br.com.etyllica.EtyllicaApplet;
import br.com.etyllica.commons.context.Application;
public class GifViewer extends Etyllica {
private static final long serialVersionUID = 1L;
public GifViewer() {
super(800, 600);
}
public static void main(String[] args) {
GifViewer app = new GifViewer();
app.init();
}
@Override
public Application startApplication() {
//Etyllica tries to find the resources as your Application should be
//To avoid this you should put your /assets/images in /Project/src/bin/etyllica/
//Upping four directories we have /Project/bin/assets/images
initialSetup("../../");
return new GifAnimation(w,h);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy