package com.betato.testgame;

import java.awt.Graphics;

import com.betato.gamedisplay.Frame;
import com.betato.gamedisplay.GameLoop;
import com.betato.gamedisplay.GameWindow;

public class TestGame extends GameWindow{
	private static final long serialVersionUID = 1L;

	public TestGame() {
		start(new GameLoop(60, 120), new Frame(300, 300, "Title"));
	}
	
	@Override
	public void onInit() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void onUpdate() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void onRender(Graphics g) {
		// TODO Auto-generated method stub
	}

	@Override
	public void onExit() {
		// TODO Auto-generated method stub
		
	}

}

@@ -23,16 +23,39 @@
 tgame;%0A%0A
+import java.awt.Color;%0A
 import j
@@ -286,16 +286,28 @@
  = 1L;%0A%0A
+%09int acc;%0A%09%0A
 %09public 
@@ -427,45 +427,18 @@
 %7B%0A%09%09
-// TODO Auto-generated method stub%0A%09%09
+acc = 100;
 %0A%09%7D%0A
@@ -481,45 +481,61 @@
 %7B%0A%09%09
-// TODO Auto-generated method stub
+if (acc %3C 9999)%7B%0A%09%09%09acc++;%0A%09%09%7D else %7B%0A%09%09%09acc = 0;
 %0A%09%09
+%7D
 %0A%09%7D%0A
@@ -588,42 +588,184 @@
 %7B%0A%09%09
-// TODO Auto-generated method stub
+g.setColor(Color.white);%0A%09%09g.fillRect(0, 0, 300, 300);%0A%09%09g.setColor(Color.black);%0A%09%09g.drawString(%22fps:%22 + fps + %22 ups:%22 + ups, 10, 10);%0A%09%09g.drawString(%22lalala:%22 + acc, 10, 30);
 %0A%09%7D%0A

Add render and update test