create an env variable for debug mode
This commit is contained in:
parent
751a9f40e5
commit
33c58874e0
7 changed files with 18 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
|||
import 'phaser';
|
||||
import GameConfig = Phaser.Types.Core.GameConfig;
|
||||
import {GameManager} from "./Phaser/Game/GameManager";
|
||||
import {RESOLUTION} from "./Enum/EnvironmentVariable";
|
||||
import {DEBUG_MODE, RESOLUTION} from "./Enum/EnvironmentVariable";
|
||||
|
||||
let gameManager = new GameManager();
|
||||
|
||||
|
@ -15,7 +15,7 @@ const config: GameConfig = {
|
|||
physics: {
|
||||
default: "arcade",
|
||||
arcade: {
|
||||
debug: true
|
||||
debug: DEBUG_MODE
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue