Exemplo n.º 1
0
        /// <summary>
        ///     Creates the sprite that displays the achieved score
        /// </summary>
        private void CreateScoreContainer()
        {
            ScoreContainer = new ResultScoreContainer(Screen as ResultScreen)
            {
                Parent    = Container,
                Alignment = Alignment.TopCenter,
                Y         = 28 + MapInformation.Height + 30
            };

            ScoreContainer.X = -ScoreContainer.Width - 100;
            ScoreContainer.MoveToX(0, Easing.OutQuint, 800);
        }
Exemplo n.º 2
0
        /// <summary>
        ///     Creates the sprite that displays the achieved score
        /// </summary>
        private void CreateScoreContainer()
        {
            ScoreContainer = new ResultScoreContainer(Screen as ResultScreen)
            {
                Parent    = MainContainer,
                Alignment = Alignment.BotCenter,
                Y         = -46 - 20
            };

            ScoreContainer.X = -ScoreContainer.Width - 100;
            ScoreContainer.MoveToX(0, Easing.OutQuint, 800);
        }
Exemplo n.º 3
0
        /// <summary>
        ///     Creates the sprite that displays the achieved score
        /// </summary>
        private void CreateScoreContainer()
        {
            var screen = Screen as ResultScreen;

            var standardized = screen?.ResultsType == ResultScreenType.Gameplay ? screen.Gameplay.Ruleset.StandardizedReplayPlayer.ScoreProcessor : null;

            ScoreContainer = new ResultScoreContainer(screen, standardized)
            {
                Parent    = MainContainer,
                Alignment = Alignment.BotCenter,
                Y         = -46 - 20
            };

            ScoreContainer.X = -ScoreContainer.Width - 100;
            ScoreContainer.MoveToX(0, Easing.OutQuint, 800);
        }