// Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using OpenTK; using osu.Framework.Graphics.Containers; namespace osu.Game.Screens.Play.Options { public class OptionsDisplay : FillFlowContainer { private bool isVisible; public bool IsVisible { set { isVisible = value; if (isVisible) Show(); else Hide(); } get { return isVisible; } } public OptionsDisplay() { Direction = FillDirection.Vertical; Spacing = new Vector2(0, 20); Add(new CollectionOptions()); Add(new DiscussionOptions()); Add(new PlaybackOptions()); } } }