Testing out JmonkeyEngine to make a game in Scala with Akka Actors within a pure FP layer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
845 B

4 years ago
  1. // #!/usr/bin/env amm
  2. // import coursierapi.MavenRepository
  3. // interp.repositories.update(
  4. // interp.repositories() ::: List(
  5. // MavenRepository.of("file://home/rohan/.m2/repository")
  6. // )
  7. // )
  8. // @
  9. // import $repo.`https://jcenter.bintray.com`
  10. // // import $repo.`https://bintray.com/jmonkeyengine/com.jme3`
  11. // import $file.dep
  12. // import $ivy.`org.jmonkeyengine:jme3-core:3.2.4-stable`
  13. // import $ivy.`wow.doge:game:1.0-SNAPSHOT`
  14. // import wow.doge.game.types.GameScript
  15. // import com.jme3.scene.control.Control
  16. // println("hello from script")
  17. // class Scr extends GameScript {
  18. // def start(): Unit = println("hello from start")
  19. // def stop(): Unit = println("hello from stop")
  20. // }
  21. // // class SomeClass extends Control {}
  22. // @main
  23. // def main(): GameScript = new Scr()
  24. import $file.dep
  25. import dep.Test
  26. new Test(1)