const Phaser = require('phaser'); const { TEXT } = require('./constants'); class Menu extends Phaser.Scene { constructor(props) { super({ key: 'Menu', active: true }); } create() { <<<<<<< HEAD this.add.text(0, 0, 'cryps.gg', TEXT.HEADER); ======= this.scene.sleep('Passives'); this.add.text(0, 0, 'cryps.gg', { fontFamily: 'Arial', fontSize: 24, color: '#ffffff', fontStyle: 'bold' }); this.input.keyboard.on('keydown_F', () => { this.scene.wake('Passives'); }, 0, this); >>>>>>> ab0aebc49f285e1f0a71035790e3089eadce25f2 } } module.exports = Menu;