Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ppy
GitHub Repository: ppy/osu
Path: blob/master/osu.Game.Tests/Visual/Matchmaking/TestScenePanelRoomAward.cs
4346 views
// Copyright (c) ppy Pty Ltd <[email protected]>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

using osu.Framework.Graphics;
using osu.Game.Screens.OnlinePlay.Matchmaking.Match.Results;

namespace osu.Game.Tests.Visual.Matchmaking
{
    public partial class TestScenePanelRoomAward : MatchmakingTestScene
    {
        public override void SetUpSteps()
        {
            base.SetUpSteps();

            AddStep("add award", () => Child = new PanelRoomAward("Award name", "Description of what this award means", 1)
            {
                Anchor = Anchor.Centre,
                Origin = Anchor.Centre
            });
        }
    }
}