Beispiel #1
0
        public void BeforeStartComponents()
        {
            Static.TotalDamageDealt   = 0;
            Static.TotalBlocksCreated = 0;

            ElapsedPlayTime = new TimeSpan();
            m_timeOfSave    = MySandboxGame.Static.UpdateTime;

            MyFpsManager.Reset();
            MyAnalyticsHelper.ReportGameplayStart();
            foreach (var component in m_sessionComponents.Values)
            {
                component.BeforeStart();
            }
        }