From: David NĂ©grier Date: Sun, 3 May 2020 13:31:20 +0000 (+0200) Subject: Removing comment X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c4f1aa1811b73d1329c813f1b1ff2ab4dd7e15ba;p=libreadventure.git Removing comment --- 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);