We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ea90f6 commit a51cb0cCopy full SHA for a51cb0c
2 files changed
Tutorial-o-Matic/scripts/executeTutorial.groovy
@@ -1,8 +1,12 @@
1
import edofro.tutorialomatic.ToM_ui as tomui
2
import edofro.tutorialomatic.ToM as tom
3
4
+
5
+//acceder mapa
6
+def mapa = node.map
7
8
//saca listado de tutotiales de mapa
-def nodosTutoriales = node.map.root.find{it.style.name == tom.styles.tutorial}
9
+def nodosTutoriales = mapa.root.find{it.style.name == tom.styles.tutorial}
10
11
// se elige tutorial
12
//TODO: hacer que usuario elija tutorial a realizar
Tutorial-o-Matic/scripts/openDemoMap.groovy
@@ -11,4 +11,4 @@ if(exists(pathName)){
c.mapLoader(pathName).withView().load()
}
13
14
-def exists(String path){new File(path).isFile()}
+def exists(String path){new File(path).isFile()}
0 commit comments