Esempio n. 1
0
        public TradeAgent(MainWindow UIWindow)
        {
            Config = new Config();
            ActiveCharacter = new Character();
            OrderSet = new MarketOrderSet(Config);
            _decide = new Strategy(ActiveCharacter, Config);

            // Load non-character specific configs.
            _loadGeneralConfig();

            // hook with UI, and delete old logs.
            _UIWindow = UIWindow;
            Log.Initialize(_UIWindow.WriteLogToWindow);
            Log.WriteLog("Done initializing trade agent.");

            // init other parts
            // updateInfo()
        }
Esempio n. 2
0
 public Strategy(Character character, Config config)
 {
     _character = character;
     _config = config;
 }