From f00d10d56ac4824a2beb3e58175c2e9d7a4d78c7 Mon Sep 17 00:00:00 2001 From: NIP Date: Mon, 13 Apr 2020 20:05:13 +0200 Subject: [PATCH] Change calque names into game scene TS file --- front/src/Phaser/Game/GameScene.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/front/src/Phaser/Game/GameScene.ts b/front/src/Phaser/Game/GameScene.ts index 48acf4a..12acded 100644 --- a/front/src/Phaser/Game/GameScene.ts +++ b/front/src/Phaser/Game/GameScene.ts @@ -66,8 +66,8 @@ export class GameScene extends Phaser.Scene implements GameSceneInterface{ //add layer on map this.Layers = new Array(); - this.addLayer( this.Map.createStaticLayer("Calque 1", [this.Terrain], 0, 0).setDepth(-2) ); - this.addLayer( this.Map.createStaticLayer("Calque 2", [this.Terrain], 0, 0).setDepth(-1) ); + this.addLayer( this.Map.createStaticLayer("bottom", [this.Terrain], 0, 0).setDepth(-2) ); + this.addLayer( this.Map.createStaticLayer("top", [this.Terrain], 0, 0).setDepth(-1) ); //add entities this.Objects = new Array(); -- 2.25.1