コード例 #1
0
        public ScriptingSystem(Game game) : base(game)
        {
            Flags    = new Dictionary <string, bool>();
            Counters = new CounterCollection();
            Timers   = new TimerCollection(Counters);

            _executionContext = new ScriptExecutionContext(game);

            _activeCoroutines   = new List <ActionResult.ActionContinuation>();
            _finishedCoroutines = new List <ActionResult.ActionContinuation>();
        }
コード例 #2
0
ファイル: ScriptingSystem.cs プロジェクト: wrightjjw/OpenSAGE
        public ScriptingSystem(Game game)
            : base(game)
        {
            Flags    = new Dictionary <string, bool>();
            Counters = new CounterCollection();
            Timers   = new TimerCollection(Counters);

            CameraFadeOverlay = AddDisposable(new CameraFadeOverlay(game));

            _executionContext = new ScriptExecutionContext(game);

            TickRate = game.Definition.ScriptingTicksPerSecond;
        }