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 map the map to set */ public void setMap(RegionMap map) { this.map = map; }
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()); }