using System;
namespace ClassicalSharp {
/// 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; }
}
}
}