public TournamentInstance() { this.OutgoingLogQueue = new List <TournamentLogEvent>(); this.HeroStats = new GameLogic.HeroStats(); this.Resources = new Dictionary <string, double>(); this.Upgrades = new TournamentUpgrades(); this.LastAdventurePanelSubTabIdx = -1; }
public TournamentInstance(TournamentInfo tournamentInfo, GameLogic.Player player) { this.OutgoingLogQueue = new List <TournamentLogEvent>(); this.HeroStats = new GameLogic.HeroStats(); this.Resources = new Dictionary <string, double>(); this.Upgrades = new TournamentUpgrades(); this.LastAdventurePanelSubTabIdx = -1; this.TournamentId = tournamentInfo.Id; this.Player = player; this.CurrentState = State.PENDING_JOIN_CONFIRMATION; }