AIPlayer.Start C# (CSharp) Method

Start() public method

public Start ( ) : void
return void
    void Start()
    {
    }

Usage Example

示例#1
0
 private void OnRun()
 {
     Diagnostics.Assert(!this.Released);
     this.isHelperProcessing = true;
     Diagnostics.Assert(this.aiHelpers != null);
     foreach (AIHelper aihelper in this.aiHelpers.Values)
     {
         Diagnostics.Assert(aihelper != null);
         if (!this.IsThreaded)
         {
         }
         aihelper.RunAIThread();
         if (!this.IsThreaded)
         {
         }
     }
     this.isHelperProcessing = false;
     Diagnostics.Assert(this.aiPlayerMajorEmpires != null);
     for (int i = 0; i < this.aiPlayerMajorEmpires.Count; i++)
     {
         AIPlayer aiplayer = this.aiPlayerMajorEmpires[i];
         Diagnostics.Assert(aiplayer != null);
         if (!this.IsThreaded)
         {
         }
         if (aiplayer.AIState != AIPlayer.PlayerState.Dead)
         {
             aiplayer.Start();
         }
         if (!this.IsThreaded)
         {
         }
     }
     if (!this.IsThreaded)
     {
     }
     this.aiPlayerMinorEmpire.Start();
     if (!this.IsThreaded)
     {
     }
     if (!this.IsThreaded)
     {
     }
     this.aiPlayerNavalEmpire.Start();
     if (!this.IsThreaded)
     {
     }
     if (!this.IsThreaded)
     {
     }
     this.aiPlayerLesserEmpire.Start();
     if (!this.IsThreaded)
     {
     }
     if (!this.IsThreaded)
     {
     }
     this.aiPlayerKaijuEmpire.Start();
     if (!this.IsThreaded)
     {
     }
 }