// Path: jastroblast-core/src/org/doublelong/jastroblast/entity/Screens.java
// public enum Screens
// {
// 	LOADING {
// 		@Override
// 		public Screen getScreenInstance()
// 		{
// 			return new LoadingScreen();
// 		}
// 	},
// 	MAIN {
// 		@Override
// 		public Screen getScreenInstance()
// 		{
// 			return new MainScreen();
// 		}
// 	},
// 	GAME {
// 		@Override
// 		public Screen getScreenInstance()
// 		{
// 			return new JastroScreen();
// 		}
// 	},
// 	CREDITS {
// 		@Override
// 		public Screen getScreenInstance()
// 		{
// 			return new CreditsScreen();
// 		}
// 	},
// 	QUIT {
// 		@Override
// 		public Screen getScreenInstance()
// 		{
// 			return new QuitScreen();
// 		}
// 	};
// 
// 	public abstract Screen getScreenInstance();
// }
// 
// Path: jastroblast-core/src/org/doublelong/jastroblast/managers/ScreenManager.java
// public final class ScreenManager
// {
// 	private static ScreenManager instance;
// 
// 	private JastroBlast game;
// 
// 	private IntMap<Screen> screens;
// 
// 	private ScreenManager() {
// 		screens = new IntMap<Screen>();
// 	}
// 
// 	public static ScreenManager getInstance()
// 	{
// 		if (null == instance)
// 		{
// 			instance = new ScreenManager();
// 		}
// 		return instance;
// 	}
// 
// 	/**
// 	 * Initializes the game property
// 	 * 
// 	 * @param game
// 	 */
// 	public void initialize(JastroBlast game)
// 	{
// 		this.game = game;
// 	}
// 
// 	/**
// 	 * Tells the game to switch screens
// 	 * 
// 	 * @param screen
// 	 */
// 	public void show(Screens screen)
// 	{
// 		if (null == game)
// 		{
// 			return;
// 		}
// 		if (!screens.containsKey(screen.ordinal()))
// 		{
// 			screens.put(screen.ordinal(), screen.getScreenInstance());
// 		}
// 		this.game.setScreen(screens.get(screen.ordinal()));
// 	}
// 
// 	public Screen get(Screens screen)
// 	{
// 		if (!screens.containsKey(screen.ordinal()))
// 		{
// 			screens.put(screen.ordinal(), screen.getScreenInstance());
// 		}
// 		return screens.get(screen.ordinal());
// 	}
// 
// 	public void dispose(Screens screen)
// 	{
// 		if(!screens.containsKey(screen.ordinal()))
// 		{
// 			return;
// 		}
// 		screens.remove(screen.ordinal()).dispose();
// 	}
// 
// 	public void dispose()
// 	{
// 		for (Screen screen : screens.values())
// 		{
// 			screen.dispose();
// 		}
// 		screens.clear();
// 		instance = null;
// 	}
// }


import org.doublelong.jastroblast.entity.Screens;
import org.doublelong.jastroblast.managers.ScreenManager;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.graphics.Texture;
package org.doublelong.jastroblast;



public class JastroBlast extends Game
{
	public final String WINDOW_TITLE = "jAstroBlast";
	public static final int WINDOW_WIDTH = 800;
	public static final int WINDOW_HEIGHT = 600;

	public static AssetManager manager = new AssetManager();
	public static final boolean DEBUG = true;

	@Override
	public void create()
	{
		ScreenManager.getInstance().initialize(this);
		Texture.setEnforcePotImages(false);
// Path: jastroblast-core/src/org/doublelong/jastroblast/entity/Screens.java
// public enum Screens
// {
// 	LOADING {
// 		@Override
// 		public Screen getScreenInstance()
// 		{
// 			return new LoadingScreen();
// 		}
// 	},
// 	MAIN {
// 		@Override
// 		public Screen getScreenInstance()
// 		{
// 			return new MainScreen();
// 		}
// 	},
// 	GAME {
// 		@Override
// 		public Screen getScreenInstance()
// 		{
// 			return new JastroScreen();
// 		}
// 	},
// 	CREDITS {
// 		@Override
// 		public Screen getScreenInstance()
// 		{
// 			return new CreditsScreen();
// 		}
// 	},
// 	QUIT {
// 		@Override
// 		public Screen getScreenInstance()
// 		{
// 			return new QuitScreen();
// 		}
// 	};
// 
// 	public abstract Screen getScreenInstance();
// }
// 
// Path: jastroblast-core/src/org/doublelong/jastroblast/managers/ScreenManager.java
// public final class ScreenManager
// {
// 	private static ScreenManager instance;
// 
// 	private JastroBlast game;
// 
// 	private IntMap<Screen> screens;
// 
// 	private ScreenManager() {
// 		screens = new IntMap<Screen>();
// 	}
// 
// 	public static ScreenManager getInstance()
// 	{
// 		if (null == instance)
// 		{
// 			instance = new ScreenManager();
// 		}
// 		return instance;
// 	}
// 
// 	/**
// 	 * Initializes the game property
// 	 * 
// 	 * @param game
// 	 */
// 	public void initialize(JastroBlast game)
// 	{
// 		this.game = game;
// 	}
// 
// 	/**
// 	 * Tells the game to switch screens
// 	 * 
// 	 * @param screen
// 	 */
// 	public void show(Screens screen)
// 	{
// 		if (null == game)
// 		{
// 			return;
// 		}
// 		if (!screens.containsKey(screen.ordinal()))
// 		{
// 			screens.put(screen.ordinal(), screen.getScreenInstance());
// 		}
// 		this.game.setScreen(screens.get(screen.ordinal()));
// 	}
// 
// 	public Screen get(Screens screen)
// 	{
// 		if (!screens.containsKey(screen.ordinal()))
// 		{
// 			screens.put(screen.ordinal(), screen.getScreenInstance());
// 		}
// 		return screens.get(screen.ordinal());
// 	}
// 
// 	public void dispose(Screens screen)
// 	{
// 		if(!screens.containsKey(screen.ordinal()))
// 		{
// 			return;
// 		}
// 		screens.remove(screen.ordinal()).dispose();
// 	}
// 
// 	public void dispose()
// 	{
// 		for (Screen screen : screens.values())
// 		{
// 			screen.dispose();
// 		}
// 		screens.clear();
// 		instance = null;
// 	}
// }


// Path: jastroblast-core/src/org/doublelong/jastroblast/JastroBlast.java
import org.doublelong.jastroblast.entity.Screens;
import org.doublelong.jastroblast.managers.ScreenManager;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.graphics.Texture;

package org.doublelong.jastroblast;



public class JastroBlast extends Game
{
	public final String WINDOW_TITLE = "jAstroBlast";
	public static final int WINDOW_WIDTH = 800;
	public static final int WINDOW_HEIGHT = 600;

	public static AssetManager manager = new AssetManager();
	public static final boolean DEBUG = true;

	@Override
	public void create()
	{
		ScreenManager.getInstance().initialize(this);
		Texture.setEnforcePotImages(false);
		ScreenManager.getInstance().show(Screens.LOADING);