aboutsummaryrefslogtreecommitdiff
path: root/src/esieequest/ui/rich/web/Main.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/esieequest/ui/rich/web/Main.java')
-rw-r--r--src/esieequest/ui/rich/web/Main.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/esieequest/ui/rich/web/Main.java b/src/esieequest/ui/rich/web/Main.java
new file mode 100644
index 0000000..a4b93ba
--- /dev/null
+++ b/src/esieequest/ui/rich/web/Main.java
@@ -0,0 +1,26 @@
1package esieequest.ui.rich.web;
2
3import com.google.gwt.core.client.EntryPoint;
4
5import esieequest.engine.GameEngine;
6
7/**
8 * The web view entry point and initialisation class. The recursively imported
9 * code will be translated to Javascript by the GWT compiler to build a web
10 * application.
11 *
12 * @author Pacien TRAN-GIRARD
13 */
14public class Main implements EntryPoint {
15
16 /**
17 * The web view initialiser. Automatically called when the program is
18 * started as a web application.
19 */
20 @Override
21 public void onModuleLoad() {
22 final WebInterface webInterface = new WebInterface();
23 new GameEngine(webInterface);
24 }
25
26}