// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT using System; namespace ClassicalSharp.Gui { /// Represents a container of widgets and other 2D elements. /// May cover the entire game window. public abstract class Screen : GuiElement { public Screen( Game game ) : base( game ) { } /// Whether this screen handles all mouse and keyboard input. /// This prevents the client from interacting with the world. public virtual bool HandlesAllInput { get; protected set; } /// Whether this screen completely and opaquely covers the game world behind it. public virtual bool BlocksWorld { get { return false; } } /// Whether this screen hides the normal in-game hud. public virtual bool HidesHud { get { return false; } } /// Whether the normal in-game hud should be drawn over the top of this screen. public virtual bool RenderHudAfter { get { return false; } } } }