From 1bd48ceb8c05e90aedb271bec0dd7322bf2b9e1a Mon Sep 17 00:00:00 2001 From: Aruhant <125254014+aruhant@users.noreply.github.com> Date: Tue, 6 Feb 2024 17:22:41 -0800 Subject: [PATCH] link intro from world map --- app/lib/level_picker/level_slector.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/lib/level_picker/level_slector.dart b/app/lib/level_picker/level_slector.dart index 478b27d..f7d553a 100644 --- a/app/lib/level_picker/level_slector.dart +++ b/app/lib/level_picker/level_slector.dart @@ -1,6 +1,7 @@ import 'package:flutter/material.dart'; import 'package:ramayana/game/game_engine.dart'; import 'package:ramayana/level_picker/world_selector.dart'; +import 'package:ramayana/title_screen/level_intro.dart'; class LevelSelector extends StatelessWidget { final LevelInfo world; @@ -37,7 +38,7 @@ class LevelTile extends StatelessWidget { onPressed: () { if (level.isAvailable) { Navigator.of(context).pushReplacement(MaterialPageRoute( - builder: (context) => GameEngine(level: level.map!), + builder: (context) => LevelIntro(level: level.map!), )); } },