Exemple #1
0
        private void Update()
        {
            if (canBuild)
            {
                ChasePointer();
                StackHeightController.CalculateCurrentBuildAltitude();

                if (hasSelectedBlock)
                {
                    ListenForBuildHotkeys();
                }
            }
        }
Exemple #2
0
        public static void CheckSkyscraperChallenges()
        {
            StackHeight = StackHeightController.CalculateStackHeight();

            var skyscraperChallenges = RoundController.Singleton.CurrentRound.RoundChallenges.Where(rc => rc.RoundChallengeType == RoundChallengeType.Skyscraper);

            foreach (var challenge in skyscraperChallenges)
            {
                challenge.CheckCompleted();
            }

            UIChallengesController.Singleton.UpdateUIChallenges();
        }