Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ppy
GitHub Repository: ppy/osu
Path: blob/master/osu.Game/Rulesets/Mods/IApplicableToHUD.cs
2264 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.Game.Screens.Play;

namespace osu.Game.Rulesets.Mods
{
    /// <summary>
    /// An interface for mods that apply changes to the <see cref="HUDOverlay"/>.
    /// </summary>
    public interface IApplicableToHUD : IApplicableMod
    {
        /// <summary>
        /// Provide a <see cref="HUDOverlay"/>. Called once on initialisation of a play instance.
        /// </summary>
        void ApplyToHUD(HUDOverlay overlay);
    }
}