// Use this for initialization void Start() { levelLoader = new LevelLoader(); levelLoader.LoadLevel(GameProperties.levelFilePath); playgroundController.ConstructLevel(levelLoader.LoadedLevel, levelLoader.LevelLength, levelLoader.LevelWidth); environmentManager.UpdateEnvironment(levelLoader.LevelWidth, levelLoader.LevelLength, playgroundController.obstaclesGridTiles); var randomSnakeDirection = Utils.GenerateRandomDirection(); playgroundController.AddSnake(randomSnakeDirection, GameProperties.initialSnakeLength); snakeController.InitSnake(randomSnakeDirection); SetupListeners(); GameProperties.playerScore = 0; OnGameResumed(); }