public SurvivalAreaCompleteScene() : base() { _animationController = new AnimationController(); _textFadeTimer = new Timer(""); _textFadeTimer.ActionCompletionHandler = HandleTimerActionComplete; GlobalTimerController.GlobalTimer.RegisterUpdateCallback(_textFadeTimer.Tick); _congratulationsPopup = new Effects.Popups.PopupRequiringDismissal(); _congratulationsPopup.DisplayPosition = new Vector2(Definitions.Back_Buffer_Center.X, 150.0f); _congratulationsPopup.AnimationCompletionHandler = HandlePopupAnimationComplete; _contentFactory = new SurvivalAreaCompleteContentFactory(RegisterGameObject); }
public SurvivalAreaCompleteScene() : base() { _animationController = new AnimationController(); _textFadeTimer = new Timer(""); _textFadeTimer.ActionCompletionHandler = HandleTimerActionComplete; GlobalTimerController.GlobalTimer.RegisterUpdateCallback(_textFadeTimer.Tick); _congratulationsPopup = new Effects.Popups.PopupRequiringDismissal(); _congratulationsPopup.DisplayPosition = new Vector2(Definitions.Back_Buffer_Center.X, 150.0f); _congratulationsPopup.AnimationCompletionHandler = HandlePopupAnimationComplete; _contentFactory = new SurvivalAreaCompleteContentFactory(RegisterGameObject); }