From c4f1aa1811b73d1329c813f1b1ff2ab4dd7e15ba Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20N=C3=A9grier?= Date: Sun, 3 May 2020 15:31:20 +0200 Subject: [PATCH] Removing comment --- front/src/Phaser/Entity/PlayableCaracter.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/front/src/Phaser/Entity/PlayableCaracter.ts b/front/src/Phaser/Entity/PlayableCaracter.ts index 839a15f..aaf5322 100644 --- a/front/src/Phaser/Entity/PlayableCaracter.ts +++ b/front/src/Phaser/Entity/PlayableCaracter.ts @@ -10,7 +10,6 @@ export class PlayableCaracter extends Phaser.Physics.Arcade.Sprite { constructor(scene: Phaser.Scene, x: number, y: number, texture: string, name: string, frame?: string | number) { super(scene, x, y, texture, frame); - // Yes, I know, I'm declaring a sprite inside a sprite. ARP, save me from this madness :) this.playerName = new BitmapText(scene, x, y - 25, 'main_font', name, 8); this.playerName.setOrigin(0.5).setCenterAlign(); scene.add.existing(this.playerName); -- 2.25.1