Created
November 11, 2017 16:06
-
-
Save raquel-oliveira/6d6814447b043cd0b538641427850fe1 to your computer and use it in GitHub Desktop.
QGL main(example) to team QAB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package fr.unice.polytech.qgl.qab; | |
import eu.ace_design.island.bot.IExplorerRaid; | |
public class Main { | |
public static void main(String[] args) { | |
IExplorerRaid raid = new Explorer(); // Empty Constructor | |
String context = | |
"{ \n" + | |
" \"men\": 12,\n" + | |
" \"budget\": 10000,\n" + | |
" \"contracts\": [\n" + | |
" { \"amount\": 600, \"resource\": \"WOOD\" },\n" + | |
" { \"amount\": 200, \"resource\": \"GLASS\" }\n" + | |
" ],\n" + | |
" \"heading\": \"W\"\n" + | |
"}" | |
; | |
raid.initialize(context); // Context initialization | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment