//
// PlayN Performance Tests
// http://github.com/threerings/playn-perf/blob/master/LICENSE

package com.threerings.perf.core;

import playn.core.Game;
import static playn.core.PlayN.*;

import tripleplay.game.ScreenStack;

public class PerfTest implements Game
{
    public static final ScreenStack stack = new ScreenStack();

    @Override public void init () {
        stack.push(new TestMenu());
    }

    @Override public void paint (float alpha) {
        stack.paint(alpha);
    }

    @Override public void update (float delta) {
        stack.update(delta);
    }

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

@@ -244,23 +244,28 @@
 est 
-implement
+extend
 s Game
+.Default
 %0A%7B%0A 
@@ -335,73 +335,45 @@
     
-@Override public void init () %7B%0A        stack.push(new TestMenu()
+public PerfTest () %7B%0A        super(50
 );%0A 
@@ -408,26 +408,14 @@
 oid 
-pa
 in
+i
 t (
-float alpha
 ) %7B%0A
@@ -433,18 +433,26 @@
 ck.p
-aint(alpha
+ush(new TestMenu()
 );%0A 
@@ -495,12 +495,10 @@
 te (
-floa
+in
 t de
@@ -565,45 +565,61 @@
 lic 
-int updateRate () %7B%0A        return 30
+void paint (float alpha) %7B%0A        stack.paint(alpha)
 ;%0A  

Update to use Game.Default.