19 lines
436 B
Plaintext
19 lines
436 B
Plaintext
package io.sarl.demos.fireworks
|
|
|
|
import io.janusproject.Boot
|
|
import io.sarl.demos.fireworks.agents.LaunchingArea
|
|
import io.sarl.demos.fireworks.gui.FXMLViewerController
|
|
|
|
import static io.janusproject.Boot.*
|
|
|
|
/*
|
|
* Launch janus Kernel and main sarl agent
|
|
*/
|
|
class Firework {
|
|
static def main(controller : FXMLViewerController) {
|
|
Boot::offline = true
|
|
Boot::verboseLevel = 7
|
|
Boot::startJanus(typeof(LaunchingArea), controller)
|
|
}
|
|
}
|