prettier login page
This commit is contained in:
parent
d691b58d0b
commit
25ac579a90
3 changed files with 28 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
|
||||
export class TextField extends Phaser.GameObjects.Text {
|
||||
constructor(scene: Phaser.Scene, x: number, y: number, text: string | string[]) {
|
||||
super(scene, x, y, text, { fontSize: '32px', fontStyle: 'Courier', color: '#ffffff'});
|
||||
super(scene, x, y, text, { fontFamily: 'Arial', fontSize: "20px", color: '#ffffff'});
|
||||
this.scene.add.existing(this)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue