36 lines
845 B
Scala
36 lines
845 B
Scala
// #!/usr/bin/env amm
|
|
|
|
// import coursierapi.MavenRepository
|
|
|
|
// interp.repositories.update(
|
|
// interp.repositories() ::: List(
|
|
// MavenRepository.of("file://home/rohan/.m2/repository")
|
|
// )
|
|
// )
|
|
|
|
// @
|
|
// import $repo.`https://jcenter.bintray.com`
|
|
// // import $repo.`https://bintray.com/jmonkeyengine/com.jme3`
|
|
// import $file.dep
|
|
// import $ivy.`org.jmonkeyengine:jme3-core:3.2.4-stable`
|
|
// import $ivy.`wow.doge:game:1.0-SNAPSHOT`
|
|
// import wow.doge.game.types.GameScript
|
|
// import com.jme3.scene.control.Control
|
|
|
|
// println("hello from script")
|
|
|
|
// class Scr extends GameScript {
|
|
// def start(): Unit = println("hello from start")
|
|
|
|
// def stop(): Unit = println("hello from stop")
|
|
// }
|
|
|
|
// // class SomeClass extends Control {}
|
|
|
|
// @main
|
|
// def main(): GameScript = new Scr()
|
|
import $file.dep
|
|
import dep.Test
|
|
|
|
new Test(1)
|