Reworking instance UI page

This commit is contained in:
Mashy
2019-03-15 14:02:14 +10:00
parent 2486045333
commit ddc48d1740
11 changed files with 92 additions and 109 deletions
+5 -5
View File
@@ -1,10 +1,10 @@
const Phaser = require('phaser');
const { POSITIONS: { MENU_MAIN }, TEXT } = require('./constants');
const { POSITIONS: { HOME_MAIN }, TEXT } = require('./constants');
const X = MENU_MAIN.x();
const Y = MENU_MAIN.y();
const WIDTH = MENU_MAIN.width();
const HEIGHT = MENU_MAIN.height();
const X = HOME_MAIN.x();
const Y = HOME_MAIN.y();
const WIDTH = HOME_MAIN.width();
const HEIGHT = HOME_MAIN.height();
class HomeRankings extends Phaser.Scene {
constructor() {