2020-01-12 16:50:51 +01:00
|
|
|
import * as Login from GUI.Screen.Login;
|
|
|
|
import * as Hall from GUI.Screen.Hall;
|
2020-01-14 17:27:56 +01:00
|
|
|
import * as Game from GUI.Screen.Game;
|
2020-01-12 16:50:51 +01:00
|
|
|
|
2020-01-14 22:07:05 +01:00
|
|
|
var gamePath = window.location.pathname.match(/\/game\/([0-9A-Fa-f]+)/);
|
2020-01-14 17:27:56 +01:00
|
|
|
|
|
|
|
if(gamePath) {
|
2020-01-15 18:01:07 +01:00
|
|
|
Game.init(gamePath[1])
|
2020-01-14 17:27:56 +01:00
|
|
|
} else {
|
|
|
|
Login.init();
|
|
|
|
Hall.init();
|
|
|
|
}
|