示例#1
0
        void Start()
        {
            tutorialCompletePhase1            = true;
            tutorialCompletePhase2            = true;
            Current.Instance.TutorialStarted  = false;
            Current.Instance.Tutorial2Started = false;

            if (Current.Instance.EarthwatcherLand == null)
            {
                landRequest.GetLandById(Current.Instance.Earthwatcher.LandId.ToString());
            }

            OpacitiesStoryBoard.Begin();
            //menuRight.Visibility = System.Windows.Visibility.Visible;

            StartTimer(null, null);
        }
示例#2
0
        public UserInfo()
        {
            InitializeComponent();


            label.Text = Current.Instance.Earthwatcher.FullName;

            var flagLayer = Current.Instance.LayerHelper.FindLayer(Constants.flagLayerName) as FlagLayer;

            if (flagLayer != null)
            {
                flagLayer.RequestFlags();
            }

            //RequestFromUsername requesting the land for the user
            landRequest.LandReceived += LandChanged;
            landRequest.GetLandById(Current.Instance.Earthwatcher.LandId.ToString());
        }