Skip to content

Instantly share code, notes, and snippets.

import phaser from 'phaser'
export class Lvl_1 extends phaser.Scene{
constructor(){
super('lvl_1')
}
create(){
console.log('lvl_1')
import phaser from 'phaser'
export class Lvl_1 extends phaser.Scene{
constructor(){
super('lvl_1')
}
create(){
console.log('lvl_1')
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')
export default class Boot {
preload(){
console.log("preload");
this.load.image("preloader", '');
}
create(){
game.input.maxPointers = 1;
game.scene.start("preload");
}
$(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) {
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
#include "administration.h"
#include "ui_administration.h"
Administration::Administration(QWidget *parent) :
QWidget(parent),
ui(new Ui::Administration)
{
ui->setupUi(this);
}
#ifndef ADMINISTRATION_H
#define ADMINISTRATION_H
#include <QWidget>
#include "loginscreen.h"
namespace Ui {
class Administration;
}
#include "loginscreen.h"
#include "ui_loginscreen.h"
#include "globalclass.h"
#include <QMessageBox>
loginScreen::loginScreen(QWidget *parent) :
QWidget(parent),
ui(new Ui::loginScreen)
{
#ifndef LOGINSCREEN_H
#define LOGINSCREEN_H
#include <QWidget>
#include <QMainWindow>
#include <QFileInfo>
#include <QDateTime>
#include <QTimer>
#include "Admin/administration.h"
#include "Staff/staffaccess.h"