private IQuinoaUI ui; //UI currently connected #endregion Fields #region Constructors public Quinoa() { ticks = 0; map = new RegionMap(); messages = new MessageManager(); actions = new QuinoaActions(this); lightMap = new LightMap(this); pathFinder = new PathFinder(this, new ClosestSquaredHeuristic()); ui = new formQuinoaWindow(); ui.register(this); ui.setInterfaceMode(InterfaceMode.MENU); ui.refresh(); }
/** * @param actions the actions to set */ public void setActions(QuinoaActions actions) { this.actions = actions; }
public void reset() { ticks = 0; map = new RegionMap(); messages = new MessageManager(); actions = new QuinoaActions(this); lightMap = new LightMap(this); pathFinder = new PathFinder(this, new ClosestSquaredHeuristic()); }