private bool StartUp() { // Fetch and save settings settings = UI.SaveSettings() ?? UI.GetSettings(); // Initialize modules gps = new GpsModule(Host); nav = new NavModule(Host, gps, settings); moving = new MoveModule(Host, token); combat = new CombatModule(Host, token, settings, memory, moving); return(Initialize()); }
public NavModule(Host host, GpsModule gps, Settings settings) : base(host) { Host = host; this.settings = settings; this.gps = gps; }