1
0
mirror of https://github.com/klmp200/sarl-fireworks.git synced 2024-06-02 12:49:40 +00:00
sarl-fireworks/src/main/sarl/io/sarl/demos/fireworks/Fireworks.sarl
2017-06-13 14:50:59 +02:00

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)
}
}