package starpunk.screens;

import com.badlogic.gdx.Screen;
import starpunk.StarPunkGame;

public abstract class BaseScreen
  implements Screen
{
  private final StarPunkGame _game;

  protected BaseScreen( final StarPunkGame game )
  {
    _game = game;
  }

  protected final StarPunkGame getGame()
  {
    return _game;
  }

  public abstract void update( float delta );

  public abstract void draw( float delta );

  @Override
  public void render( final float delta )
  {
    update( delta );
    draw( delta );
  }

  @Override
  public void resize( final int width, final int height )
  {
  }

  @Override
  public void show()
  {
  }

  @Override
  public void hide()
  {
  }

  @Override
  public void pause()
  {
  }

  @Override
  public void resume()
  {
  }

  @Override
  public void dispose()
  {
  }
}
@@ -20,16 +20,45 @@
 reens;%0A%0A
+import com.badlogic.gdx.Gdx;%0A
 import c
@@ -81,16 +81,16 @@
 Screen;%0A
-
 import s
@@ -614,24 +614,84 @@
 eight )%0A  %7B%0A
+    log( %22Resizing screen to: %22 + width + %22 x %22 + height );%0A
   %7D%0A%0A  @Over
@@ -716,24 +716,53 @@
  show()%0A  %7B%0A
+    log( %22Showing screen%22 );%0A
   %7D%0A%0A  @Over
@@ -783,32 +783,60 @@
 void hide()%0A  %7B%0A
+    log( %22Hiding screen%22 );%0A
   %7D%0A%0A  @Override
@@ -854,32 +854,61 @@
 oid pause()%0A  %7B%0A
+    log( %22Pausing screen%22 );%0A
   %7D%0A%0A  @Override
@@ -931,24 +931,54 @@
 esume()%0A  %7B%0A
+    log( %22Resuming screen%22 );%0A
   %7D%0A%0A  @Over
@@ -1006,17 +1006,156 @@
 spose()%0A
-
   %7B%0A
+    log( %22Disposing screen%22 );%0A  %7D%0A%0A  private void log( final String message )%0A  %7B%0A    Gdx.app.log( getClass().getSimpleName(), message );%0A
   %7D%0A%7D

Introduce some logging in screens to aid in the debugging