Back to project page AndroidFramework.
The source code is released under:
This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a co...
If you think the Android project AndroidFramework 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.mdobbins.sample; //from ww w . j a va2 s . co m import com.mdobbins.framework.Game; import com.mdobbins.framework.Graphics; import com.mdobbins.framework.Screen; import com.mdobbins.framework.Graphics.ImageFormat; public class LoadingScreen extends Screen { public LoadingScreen(Game game) { super(game); } @Override public void update(float deltaTime) { Graphics g = game.getGraphics(); Assets.menu = g.newImage("menu.jpg", ImageFormat.RGB565); Assets.click = game.getAudio().createSound("explode.ogg"); game.setScreen(new MainMenuScreen(game)); } @Override public void paint(float deltaTime) { } @Override public void pause() { } @Override public void resume() { } @Override public void dispose() { } @Override public void backButton() { } }