Exemple #1
0
 public Plugin()
 {
     gameList = new WordgameCollection();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Wordgame"/> class.
 /// </summary>
 /// <param name="bot">The bot.</param>
 /// <param name="channel">The channel.</param>
 /// <param name="gameList">The game list.</param>
 public Wordgame(FnordBot.FnordBot bot, string channel, WordgameCollection gameList, string wordListPath)
 {
     this.bot = bot;
     this.channel = channel;
     this.gameList = gameList;
     this.rnd = new Random();
     this.wordListPath = wordListPath;
 }