示例#1
0
 public HumanCLI(Players NewHumanPlayer, Games NewCurrGame)
 {
     this.HumanPlayer = NewHumanPlayer;
     this.ClearCommand();
     this.AutoTurn = new AISystem(this.HumanPlayer);
     this.CurrGame = NewCurrGame;
 }
示例#2
0
 public void SetIsHuman(bool NewIsHuman)
 {
     this.IsHuman = NewIsHuman;
     SoundEffects = this.IsHuman;
     if (this.IsHuman)
     {
         this.Human = new HumanCLI(this, this.CurrGame);
         this.AI    = null;
     }
     else
     {
         this.AI    = new AISystem(this);
         this.Human = null;
         this.Human = new HumanCLI(this, this.CurrGame);                 // debug AI
     }
 }