// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1365 globals endglobals function initGlobals takes nothing returns nothing endfunction function group_hasNext takes group this returns boolean return FirstOfGroup(this) != null endfunction function group_next takes group this returns unit local unit u = FirstOfGroup(this) call GroupRemoveUnit(this, u) return u endfunction function init_test takes nothing returns nothing local group g = null local group from = g loop exitwhen not group_hasNext(from) call group_next(from) endloop endfunction function main takes nothing returns nothing call initGlobals() call init_test() endfunction function config takes nothing returns nothing endfunction