package starpunk;

import com.badlogic.gdx.Game;
import starpunk.screens.GameLoopScreen;

public final class StarPunkGame
  extends Game
{
  public static final int WIDTH = 512;
  public static final int HEIGHT = 512;

  private final AssetManager _assetManager = new AssetManager();
  private static StarPunkGame c_game;

  public static StarPunkGame getGame()
  {
    return c_game;
  }

  StarPunkGame()
  {
    c_game = this;
  }

  @Override
  public void create()
  {
    _assetManager.initialize();
    setScreen( new GameLoopScreen( this ) );
  }

  @Override
  public void dispose()
  {
    super.dispose();
    _assetManager.dispose();
  }

  public AssetManager getAssetManager()
  {
    return _assetManager;
  }
}

@@ -42,16 +42,77 @@
 x.Game;%0A
+import com.badlogic.gdx.Gdx;%0Aimport com.badlogic.gdx.Screen;%0A
 import s
@@ -143,16 +143,16 @@
 Screen;%0A
-
 %0Apublic 
@@ -524,24 +524,120 @@
 reate()%0A  %7B%0A
+    Gdx.app.log( StarPunkGame.class.getSimpleName(), %22Creating game on %22 + Gdx.app.getType() );%0A
     _assetMa
@@ -742,24 +742,98 @@
 spose()%0A  %7B%0A
+    Gdx.app.log( StarPunkGame.class.getSimpleName(), %22Disposing game.%22 );%0A
     super.di
@@ -915,24 +915,24 @@
 nager()%0A  %7B%0A
-
     return _
@@ -948,11 +948,706 @@
 ger;%0A  %7D
+%0A%0A  @Override%0A  public void resize( final int width, final int height )%0A  %7B%0A    Gdx.app.log( StarPunkGame.class.getSimpleName(), %22Resizing game to: %22 + width + %22 x %22 + height );%0A    super.resize( width, height );%0A  %7D%0A%0A  @Override%0A  public void pause()%0A  %7B%0A    Gdx.app.log( StarPunkGame.class.getSimpleName(), %22Pausing game%22 );%0A    super.pause();%0A  %7D%0A%0A  @Override%0A  public void resume()%0A  %7B%0A    Gdx.app.log( StarPunkGame.class.getSimpleName(), %22Resuming game%22 );%0A    super.resume();%0A  %7D%0A%0A  @Override%0A  public void setScreen( final Screen screen )%0A  %7B%0A    Gdx.app.log( StarPunkGame.class.getSimpleName(), %22Setting screen: %22 + screen.getClass().getSimpleName() );%0A    super.setScreen( screen );%0A  %7D
 %0A%7D%0A

Add some basic logging