Esempio n. 1
0
        public void SubmitDesign()
        {
            var timeLeft = GameTimer.MaxTime - GameTimer.CurrentTime;

            OrderTracker.AddOrder(FinalizeToyCombination());

            if (OrderTracker.RequestedCombinations.Count == OrderTracker.ActualCombinations.Count)
            {
                GameTimer.SetPaused(true);
                LevelLoader.FadeToLevel();
            }
            else
            {
                DestroyChildren(ToyCreationRoot);
            }
        }