protected override void SetInterfaceDisplayObjectsForGame() { base.SetInterfaceDisplayObjectsForGame(); _quitRaceButton.Initialize(); _powerUpButton.Reset(); RegisterGameObject(_powerUpButton); _powerUpDisplayTimer.Reset(); RegisterGameObject(_powerUpDisplayTimer); _powerUpHelper.Reset(); _powerUpHelper.MotionLine = Definitions.Back_Buffer_Center.X; RegisterGameObject(_powerUpHelper); _countdownPopup.Reset(); RegisterGameObject(_countdownPopup); _raceEventPopup.Reset(); RegisterGameObject(_raceEventPopup); _positionStatusPopup.Reset(); RegisterGameObject(_positionStatusPopup); _waitingMessage.Reset(); RegisterGameObject(_waitingMessage); _quitRaceDialog.Reset(); RegisterGameObject(_quitRaceDialog); _disconnectedDialog.Reset(); RegisterGameObject(_disconnectedDialog); }
protected override void SetInterfaceDisplayObjectsForGame() { base.SetInterfaceDisplayObjectsForGame(); _powerUpButton.Reset(); RegisterGameObject(_powerUpButton); _powerUpDisplayTimer.Reset(); RegisterGameObject(_powerUpDisplayTimer); _powerUpHelper.Reset(); _powerUpHelper.MotionLine = BufferCenter.X; RegisterGameObject(_powerUpHelper); _countdownPopup.Reset(); RegisterGameObject(_countdownPopup); _raceEventPopup.Reset(); RegisterGameObject(_raceEventPopup); _positionStatusPopup.Reset(); RegisterGameObject(_positionStatusPopup); }