Skip to content

ExampleEntryPoint

da772 edited this page Feb 26, 2020 · 5 revisions

Entry Point

To run an application first create it in the main function, then call Init(), which initializes the values, Run() which is the main application loop, and Shutdown() which cleans up the process.

import application.TestingApp;

/**
 * 
 * Entry point
 * 		- Change TestingApp to the final app
 *
 */
public class Main {

	public static void main(String[] args) {
		Application app = new TestingApp(); // Replace TestingApp with your application
		app.Init();
		app.Run();
		app.Shutdown();
	}

}

Previous | Next

Clone this wiki locally