TheSadRogue.Primitives 1.5.0

.NET 5.0 .NET Core 3.1 .NET Standard 2.1
dotnet add package TheSadRogue.Primitives --version 1.5.0
NuGet\Install-Package TheSadRogue.Primitives -Version 1.5.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TheSadRogue.Primitives" Version="1.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TheSadRogue.Primitives --version 1.5.0
#r "nuget: TheSadRogue.Primitives, 1.5.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install TheSadRogue.Primitives as a Cake Addin
#addin nuget:?package=TheSadRogue.Primitives&version=1.5.0

// Install TheSadRogue.Primitives as a Cake Tool
#tool nuget:?package=TheSadRogue.Primitives&version=1.5.0

A collection of primitive data structures for working with a 2-dimensional grid.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on TheSadRogue.Primitives:

Package Downloads
SadConsole

A library that emulates old-school console and command prompt style graphics. Targets .NET Standard 2.1.

GoRogue

Roguelike/2D game utility library.

SadConsole.Host.MonoGame

A graphics hosting library for SadConsole. Targets MonoGame and .NET Standard 2.1.

TheSadRogue.Primitives.MonoGame

A collection of extension methods that allow TheSadRogue.Primitives types to easily interface with MonoGame's equivalents.

SadConsole.Host.SFML

A graphics hosting library for SadConsole. Targets SFML and .NET Standard 2.1.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on TheSadRogue.Primitives:

Repository Stars
Thraka/SadConsole
A .NET ascii/ansi console engine written in C# for MonoGame and XNA. Create your own text roguelike (or other) games!
Chris3606/GoRogue
.NET Standard roguelike library in C#. Features many algorithms and data structures pertinent to roguelike/2D game developers, specifically designed to be minimally intrusive upon the developer's architecture.
Version Downloads Last updated
1.5.0 65 1/27/2023
1.5.0-debug 37 1/27/2023
1.4.1 408 10/8/2022
1.4.1-debug 46 10/8/2022
1.4.0 181 10/7/2022
1.4.0-debug 43 10/7/2022
1.3.2 236 9/25/2022
1.3.2-debug 53 9/25/2022
1.3.1 318 5/13/2022
1.3.1-debug 82 5/13/2022
1.3.0 803 2/12/2022
1.3.0-debug 65 2/12/2022
1.2.0 468 1/8/2022
1.2.0-debug 84 1/8/2022
1.1.1 3,264 9/30/2021
1.1.1-debug 117 9/30/2021
1.1.0 259 8/21/2021
1.1.0-debug 141 8/21/2021
1.0.0 4,216 3/23/2021
1.0.0-debug 193 3/23/2021
1.0.0-alpha9-debug 163 1/25/2021
1.0.0-alpha9 144 1/25/2021
1.0.0-alpha8-debug 450 12/11/2020
1.0.0-alpha8 394 12/11/2020
1.0.0-alpha7-debug 371 11/23/2020
1.0.0-alpha7 212 11/23/2020
1.0.0-alpha6-debug 221 10/25/2020
1.0.0-alpha6 313 10/25/2020
1.0.0-alpha5-debug 660 7/14/2020
1.0.0-alpha5 343 7/14/2020
1.0.0-alpha4-debug 585 6/28/2020
1.0.0-alpha4 430 6/28/2020
1.0.0-alpha3-debug 593 5/23/2020
1.0.0-alpha3 267 5/23/2020
1.0.0-alpha2-debug 453 4/18/2020
1.0.0-alpha2 244 4/18/2020
1.0.0-alpha1-debug 628 12/8/2019
1.0.0-alpha1 420 12/8/2019

- **Color Changes**
       - GetHue can no longer return 360 instead of 0 in some cases
       - GetHue, GetSaturation, and GetBrightness are obsolete; use GetHSVHue / GetHSLHue, GetHSVSaturation / GetHSLSaturation, etc instead as required
       - FromHSL now performs color translation correctly (it previously produced incorrect values in a significant number of cases)
       - Deconstruction of a Color object into a float now properly returns a value between 0 and 1 (it would return between 0 and 255 previously)
     - **Point Hasher Changes**
       - Fixed off-by-one issue in point hasher calculations
       - Renamed properties to reflect their actual values
     - **Area Changes**
       - Optimized Area.Intersects to avoid full comparisons for referentially equal values
     - **DiffAwareGridView Changes**
       - Fixed serialization (implicit conversion to/from its serialized type was broken and wouldn't restore CurrentIndex properly)
       - You can now set history index to -1 when using SetHistory
     - **Rectangle Changes**
       - IsEmpty now returns the correct value
       - Rectangle.PositionsOnSide now throws ArgumentException as applicable
     - **Point Changes**
       - BearingOfLine overloads taking 2 points or 4 ints now return the correct line instead of the reciprocal one
       - Using division operator on a Point and a value now returns a Point instead of a value tuple
     - **Gradient Changes**
       - Gradient constructor now throws ArgumentException as applicable
     - **Palette Changes**
       - Palette now implements IReadOnlyList
       - Removed unnecessary in-memory value duplication in some constructors
     - **IGridView Extension Changes**
       - IGridView.ExtendToString no longer adds too many element separators in overloads which take a field size