()
| 62 | var game = new Phaser.Game(config); |
| 63 | |
| 64 | function create() |
| 65 | { |
| 66 | // Default text with no style settings |
| 67 | this.add.text(100, 100, 'Phaser'); |
| 68 | |
| 69 | // Pass in a basic style object with the constructor |
| 70 | this.add.text(100, 200, 'Phaser', { fontFamily: 'Arial', fontSize: 64, color: '#00ff00' }); |
| 71 | |
| 72 | // Or chain calls like this: |
| 73 | this.add.text(100, 400, 'Phaser').setFontFamily('Arial').setFontSize(64).setColor('#ffff00'); |
| 74 | |
| 75 | PhaserGUIAction(this); |
| 76 | } |
nothing calls this directly
no test coverage detected