This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import phaser from 'phaser' | |
export class Lvl_1 extends phaser.Scene{ | |
constructor(){ | |
super('lvl_1') | |
} | |
create(){ | |
console.log('lvl_1') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import phaser from 'phaser' | |
export class Lvl_1 extends phaser.Scene{ | |
constructor(){ | |
super('lvl_1') | |
} | |
create(){ | |
console.log('lvl_1') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import phaser from 'phaser' | |
export class Preloader extends phaser.Scene{ | |
constructor (){ | |
super('preloader') | |
var ready | |
} | |
preload(){ | |
console.log("Preloader preload") | |
//-----------logo-----------// | |
//this.logo = this.add.image(this.sys.game.config.width / 2, this.sys.game.config.height / 2 + 120, 'logo') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default class Boot { | |
preload(){ | |
console.log("preload"); | |
this.load.image("preloader", ''); | |
} | |
create(){ | |
game.input.maxPointers = 1; | |
game.scene.start("preload"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).on('turbolinks:load', function() { | |
if (!(page.controller() === 'index' && page.action() === 'contact')) { | |
return; | |
} | |
Turbolinks.clearCache(); | |
// only do this if you find the map_canvas_home, otherwise we don't need no maps | |
if (document.getElementById("map") !== null) { | |
// check to see if google map is loaded, if so, just init that map! Otherwise, create the script tag | |
if (isMapsApiLoaded) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16:45:30: Running steps for project HMS2... | |
16:45:30: Configuration unchanged, skipping qmake step. | |
16:45:30: Starting: "/usr/bin/make" | |
/home/ghostly/Qt/5.10.1/gcc_64/bin/uic ../HMS2/loginscreen.ui -o ui_loginscreen.h | |
/home/ghostly/Qt/5.10.1/gcc_64/bin/uic ../HMS2/Admin/administration.ui -o ui_administration.h | |
/home/ghostly/Qt/5.10.1/gcc_64/bin/uic ../HMS2/Staff/staffaccess.ui -o ui_staffaccess.h | |
g++ -c -pipe -g -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I../HMS2 -I. -I../../../../Qt/5.10.1/gcc_64/include -I../../../../Qt/5.10.1/gcc_64/include/QtWidgets -I../../../../Qt/5.10.1/gcc_64/include/QtGui -I../../../../Qt/5.10.1/gcc_64/include/QtSql -I../../../../Qt/5.10.1/gcc_64/include/QtCore -I. -isystem /usr/include/libdrm -I. -I../../../../Qt/5.10.1/gcc_64/mkspecs/linux-g++ -o main.o ../HMS2/main.cpp | |
In file included from ../HMS2/loginscreen.h:9:0, | |
from ../HMS2/main.cpp:1: | |
../HMS2/Admin/administratio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "administration.h" | |
#include "ui_administration.h" | |
Administration::Administration(QWidget *parent) : | |
QWidget(parent), | |
ui(new Ui::Administration) | |
{ | |
ui->setupUi(this); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef ADMINISTRATION_H | |
#define ADMINISTRATION_H | |
#include <QWidget> | |
#include "loginscreen.h" | |
namespace Ui { | |
class Administration; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "loginscreen.h" | |
#include "ui_loginscreen.h" | |
#include "globalclass.h" | |
#include <QMessageBox> | |
loginScreen::loginScreen(QWidget *parent) : | |
QWidget(parent), | |
ui(new Ui::loginScreen) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef LOGINSCREEN_H | |
#define LOGINSCREEN_H | |
#include <QWidget> | |
#include <QMainWindow> | |
#include <QFileInfo> | |
#include <QDateTime> | |
#include <QTimer> | |
#include "Admin/administration.h" | |
#include "Staff/staffaccess.h" |