Back to project page candy-drop.
The source code is released under:
Copyright (c) 2014, Gregory Martin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
If you think the Android project candy-drop listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.gregfmartin.facetapper.entities; /* w w w . j a v a 2 s . c o m*/ import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.scenes.scene2d.ui.Image; /** * Custom extension of {@link com.badlogic.gdx.scenes.scene2d.ui.Image} that will automatically load the Splash * Image when instantiated. */ public class SplashImage extends Image { public SplashImage() { super(new TextureRegion(new Texture(Gdx.files.internal("images/ui/splash/splash.png")))); } }