package com.quexten.ravtech.desktop;

import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application;
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration;
import com.badlogic.gdx.graphics.Color;
import com.quexten.ravtech.Hook;
import com.quexten.ravtech.HookApi;
import com.quexten.ravtech.RavTech;
import com.quexten.ravtech.Scene;
import com.quexten.ravtech.components.Camera;
import com.quexten.ravtech.components.GameObject;
import com.quexten.ravtech.components.SpriteRenderer;
import com.quexten.ravtech.files.SceneLoader;

public class DesktopLauncher {
	public static void main (String[] arg) {		
		final Lwjgl3ApplicationConfiguration config = new Lwjgl3ApplicationConfiguration();
		config.setWindowedMode(1280, 720);
		config.setDecorated(true);
		config.useVsync(true);		
		config.setTitle("Test");
		DesktopEngineConfiguration engineConfiguration = new DesktopEngineConfiguration();
		
		final RavTech ravtech = new RavTech(engineConfiguration);
		
		engineConfiguration.remoteEdit = false;
		
		HookApi.addHook("onBoot", new Hook() {
 		  @Override
 		  public void run() {
 			  RavTech.files.loadAsset("map.scene", Scene.class);
 			  RavTech.files.finishLoading();
 			  RavTech.currentScene = RavTech.files.getAsset("map.scene", Scene.class);
 			  for(int x = 0; x < 200; x++) {
 				  for(int y = 0; y < 200; y++) {
 					  GameObject object = RavTech.currentScene.addGameObject(7, 0);
		 			  SpriteRenderer renderer = new SpriteRenderer();
		 			  renderer.setTexture("textures/error.png");
		 			  object.addComponent(renderer);
 				  }
 			  } 			  
 		  }
 	  });
		
		new Lwjgl3Application(ravtech, config);
	}
}

@@ -166,48 +166,8 @@
 on;%0A
-import com.badlogic.gdx.graphics.Color;%0A
 impo
@@ -304,204 +304,8 @@
 ene;
-%0Aimport com.quexten.ravtech.components.Camera;%0Aimport com.quexten.ravtech.components.GameObject;%0Aimport com.quexten.ravtech.components.SpriteRenderer;%0Aimport com.quexten.ravtech.files.SceneLoader;
 %0A%0Apu
@@ -1036,319 +1036,8 @@
 ss);
-%0A %09%09%09  for(int x = 0; x %3C 200; x++) %7B%0A %09%09%09%09  for(int y = 0; y %3C 200; y++) %7B%0A %09%09%09%09%09  GameObject object = RavTech.currentScene.addGameObject(7, 0);%0A%09%09 %09%09%09  SpriteRenderer renderer = new SpriteRenderer();%0A%09%09 %09%09%09  renderer.setTexture(%22textures/error.png%22);%0A%09%09 %09%09%09  object.addComponent(renderer);%0A %09%09%09%09  %7D%0A %09%09%09  %7D %09%09
 %09  %0A

Remove benchmark