2015-04-10 14:10:32 +02:00
|
|
|
package de.samdev.cannonshooter;
|
|
|
|
|
2015-08-29 12:18:10 +02:00
|
|
|
import com.badlogic.gdx.graphics.Texture;
|
2015-09-17 14:37:44 +02:00
|
|
|
import com.badlogic.gdx.graphics.g2d.TextureRegion;
|
|
|
|
|
|
|
|
import de.samdev.absgdx.framework.util.TextureHelper;
|
2015-04-10 14:10:32 +02:00
|
|
|
|
2015-08-29 12:18:10 +02:00
|
|
|
public final class Textures {
|
|
|
|
public static Texture texbackground;
|
2015-09-17 12:34:58 +02:00
|
|
|
|
|
|
|
public static Texture cannon_body;
|
2015-09-17 14:37:44 +02:00
|
|
|
public static TextureRegion[] cannon_barrel;
|
2015-09-17 15:35:24 +02:00
|
|
|
public static TextureRegion[] cannon_hearth;
|
2015-09-17 12:34:58 +02:00
|
|
|
public static Texture cannon_bullet;
|
2015-08-29 12:18:10 +02:00
|
|
|
|
|
|
|
public static void init() {
|
|
|
|
texbackground = new Texture("level_background.png");
|
2015-09-17 12:34:58 +02:00
|
|
|
|
|
|
|
cannon_body = new Texture("cannon_body.png");
|
2015-09-17 14:37:44 +02:00
|
|
|
cannon_barrel = TextureHelper.load1DArray("cannon_barrel.png", 512, 256, 16);
|
2015-09-17 15:35:24 +02:00
|
|
|
cannon_hearth = TextureHelper.load1DArray("cannon_hearth.png", 256, 256, 64);
|
2015-08-29 12:18:10 +02:00
|
|
|
}
|
2015-04-10 14:10:32 +02:00
|
|
|
}
|