My version of VanZeben's 2dJavaGame