package com.betato.gamedisplay;

import java.awt.Canvas;

public abstract class GameWindow extends Canvas implements Game {

	private static final long serialVersionUID = 1L;
	private GameLoop gameLoop;
	
	public GameWindow(GameLoop gameLoop) {
		this.gameLoop = gameLoop;
		gameLoop.run(this);
	}
}

@@ -117,17 +117,18 @@
  Game %7B%0A
+%09
 %0A
-
 %09private
@@ -199,16 +199,44 @@
 Loop;%0A%09%0A
+%09public int fps, ups = 0;%0A%09%0A
 %09public 
@@ -295,16 +295,16 @@
 meLoop;%0A
-
 %09%09gameLo
@@ -320,10 +320,232 @@
 is);%0A%09%7D%0A
+%09%0A%09@Override%0A%09public void init() %7B%0A%09%09%0A%09%7D%0A%09%0A%09@Override%0A%09public void update() %7B%0A%09%09%0A%09%7D%0A%09%0A%09@Override%0A%09public void render() %7B%0A%09%09%0A%09%7D%0A%09%0A%09@Override%0A%09public void updateFps(int fps, int ups) %7B%0A%09%09this.fps = fps;%0A%09%09this.ups = ups;%0A%09%7D%0A
 %7D%0A

Add game methods to GameWindow