Example #1
0
        protected virtual void SetInterfaceDisplayObjectsForGame()
        {
            _speedometer.PlayerMotionEngine = (PlayerMotionEngine)_player.MotionEngine;
            _speedometer.Reset();
            RegisterGameObject(_speedometer);

            _statusDisplay.Position = Vector2.Zero;
            RegisterGameObject(_statusDisplay);

            RegisterGameObject(_playerEventPopup);
        }
 protected virtual void SetInterfaceDisplayObjectsForGame()
 {
     _speedometer.PlayerMotionEngine = (PlayerMotionEngine)_player.MotionEngine;
     _speedometer.Reset();
 }