Exemple #1
0
        public override void StartEngine()
        {
            IsIdle = false;

            _gameEngine = new GameEngine(_id, GameEngineConfig.GetDefaultConfig(), (format, args) =>
            {
                OnEngineOutput(string.Format(format, args));
            });

            _gameEngine.ParseCommand("info");
        }
Exemple #2
0
 public InternalEngineWrapper(string id) : base()
 {
     _id = !string.IsNullOrWhiteSpace(id) ? id.Trim() : throw new ArgumentNullException("id");
     _gameEngineConfig = GameEngineConfig.GetDefaultConfig();
 }