public virtual void Draw(RLConsole console, bool isHovered) { RLColor color; if (IsDisabled) { color = _disabledColor; } else if (isHovered) { color = _hoverColor; } else { color = _color; } console.SetBackColor(TopLeftCorner.X, TopLeftCorner.Y, Width, Height, color); string value; if (Values.Length == 1) { value = Values[0]; console.Print(TopLeftCorner.X + Game.GetCenterOffset(Width, value.Length), TopLeftCorner.Y + Game.GetEvenlySpacedOffset(Height, 1), value, Colors.Text); } else { int offset = Game.GetEvenlySpacedOffset(Height, Values.Length); int i = 1; foreach (string text in Values) { console.Print(TopLeftCorner.X + Game.GetCenterOffset(Width, text.Length), TopLeftCorner.Y + (offset + 1) * i, text, Colors.Text); i++; } } CellSelection.CreateRoomWalls(TopLeftCorner, BottomRightCorner - TopLeftCorner, 179, 196, 218, 191, 192, 217, console); }