コード例 #1
0
        public override void Process(AGE.Action _action, Track _track)
        {
            Track track = _action.GetTrack(this.trackId);

            if (track != null)
            {
                track.Stop(_action);
            }
        }
コード例 #2
0
ファイル: Track.cs プロジェクト: isoundy000/wzry-1
 public bool CheckConditions(AGE.Action _action)
 {
     if (this.waitForConditions != null)
     {
         Dictionary <int, bool> .Enumerator enumerator = this.waitForConditions.GetEnumerator();
         while (enumerator.MoveNext())
         {
             KeyValuePair <int, bool> current = enumerator.Current;
             int key = current.Key;
             if ((key >= 0) && (key < _action.GetConditionCount()))
             {
                 KeyValuePair <int, bool> pair2 = enumerator.Current;
                 if (_action.GetCondition(_action.GetTrack(key)) != pair2.Value)
                 {
                     return(false);
                 }
             }
         }
     }
     return(true);
 }