public ConsoleScreenLayer(ScreenLayerCollection parent, GeometryManager geometries, Logger logger) : base(parent, geometries, 0, 1, true) { this.logger = logger; bounds = new Bounds(new ScalingDimension(Screen.X), new FixedSizeDimension(Screen.Y, consoleHeight)); AddComponent(new ConsoleTextComponent(Bounds.Within(bounds, padding, padding, padding + inputBoxHeight, padding), logger)); AddComponent(consoleInput = new TextInput(Bounds.Within(bounds, consoleHeight - inputBoxHeight, padding, 0, padding))); }
protected UIScreenLayer(ScreenLayerCollection parent, GeometryManager geometries, float originX, float originY, bool flipY) : base(parent) { Geometries = geometries; Screen = Screen.GetCanvas(); this.originX = originX; this.originY = originY; this.flipY = flipY; }
public LobbyScreen(ScreenLayerCollection parent, GeometryManager geometries, Logger logger, InputManager inputManager) : base(parent, geometries, .5f, .5f, true) { this.logger = logger; this.inputManager = inputManager; }
protected ScreenLayer(ScreenLayerCollection parent) { Parent = parent; }
protected UIScreenLayer(ScreenLayerCollection parent, GeometryManager geometries) : this(parent, geometries, .5f, 1, true) { }
protected ScreenLayerGroup(ScreenLayerCollection parent) { this.parent = parent; }