#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.core;

import static playn.core.PlayN.*;

import playn.core.Game;
import playn.core.Image;
import playn.core.ImageLayer;

public class ${JavaGameClassName} implements Game {
  @Override
  public void init() {
    // create and add background image layer
    Image bgImage = assets().getImage("images/bg.png");
    ImageLayer bgLayer = graphics().createImageLayer(bgImage);
    graphics().rootLayer().add(bgLayer);
  }

  @Override
  public void paint(float alpha) {
    // the background automatically paints itself, so no need to do anything here!
  }

  @Override
  public void update(float delta) {
  }

  @Override
  public int updateRate() {
    return 25;
  }
}

@@ -258,25 +258,133 @@
 me%7D 
-implements Game %7B
+extends Game.Default %7B%0A%0A  public $%7BJavaGameClassName%7D() %7B%0A    super(33); // call update every 33ms (30 times per second)%0A  %7D%0A
 %0A  @
@@ -621,24 +621,75 @@
 ayer);%0A  %7D%0A%0A
+  @Override%0A  public void update(int delta) %7B%0A  %7D%0A%0A
   @Override%0A
@@ -813,120 +813,7 @@
 %0A  %7D
-%0A%0A  @Override%0A  public void update(float delta) %7B%0A  %7D%0A%0A  @Override%0A  public int updateRate() %7B%0A    return 25;%0A  %7D
 %0A%7D%0A

Update archetype to use Game.Default.