public BasePoint GetCopy(bool AlphaWon, Misc.WinType winType) { BasePoint save = new BasePoint(this.m_ATeamName, this.m_BTeamName); save.m_AlphaWon = AlphaWon; save.m_WinType = winType; save.m_TotalTime = DateTime.Now - this.m_StartTime; save.m_StartTime = this.m_StartTime; save.m_BaseNumber = this.m_BaseNumber; save.m_AlphaTeam = this.m_AlphaTeam.getCopy(); save.m_BravoTeam = this.m_BravoTeam.getCopy(); save.m_SafeWinner = this.m_SafeWinner; return(save); }
private void game_Reset() { this.m_ATeamName = m_DefaultATeamName; this.m_BTeamName = m_DefaultBTeamName; this.m_CurrentPoint = new BasePoint(this.m_ATeamName, this.m_BTeamName); this.m_AllPoints = new List <BasePoint>(); this.m_Status = Misc.BaseGameStatus.NotStarted; this.m_Timer = new Timer(); this.m_InactiveTimer = new Timer(); this.m_StartGameDelay = 10; this.m_StartGameShow = 5; this.m_TeamClearDelay = 5; this.m_AlphaPoints = 0; this.m_BravoPoints = 0; this.m_Settings.LoadSettings(this.m_DefaultSettingType); this.players_WarptoCenter(); }