public TriggerCompiler(MegaloScriptModelCompilerState state) : base(state.Model, null)
            {
                base.TriggersToProcess =
                    (from id in Model.TriggerExecutionOrder
                     select Model.Triggers[id]).Union
                        (from t in Model.Triggers
                        where t.TriggerType != MegaloScriptTriggerType.InnerLoop
                        select t);

                mOwnerState        = state;
                mCompileReferences = true;
            }
Exemple #2
0
 void EndCompile()
 {
     mCompilerState = null;
 }
Exemple #3
0
        void BeginCompile()
        {
            mCompilerState = new MegaloScriptModelCompilerState(this);

            Compile();
        }