The Assets Class

Well, You've done this before, so don't expect any surprises. Listing 12–1 shows you the code of the Assets class.

Listing 12–1. Assets.java, Loading and Storing Assets as Always

package com.badlogic.androidgames.droidinvaders; import com.badlogic.androidgames.framework.Music; import com.badlogic.androidgames.framework.Sound; import com.badlogic.androidgames.framework.gl.Animation; import com.badlogic.androidgames.framework.gl.Font; import com.badlogic.androidgames.framework.gl.ObjLoader; import com.badlogic.androidgames.framework.gl.Texture; import com.badlogic.androidgames.framework.gl.TextureRegion; import com.badlogic.androidgames.framework.gl.Vertices3; import com.badlogic.androidgames.framework.impl.GLGame; public class ...

Get Beginning Android 4 Games Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.