Пример #1
0
 public FightException(string message, FightExceptionReason reason, BotBase errorBot, Exception innerException = null) : base(message, innerException)
 {
     Reason   = reason;
     ErrorBot = errorBot;
 }
Пример #2
0
 public Fight(BotBase bot1, BotBase bot2, IGameLogic gameLogic)
 {
     this.bot1      = bot1;
     this.bot2      = bot2;
     this.gameLogic = gameLogic;
 }