TheSadRogue.Primitives
1.5.0-debug
See the version list below for details.
dotnet add package TheSadRogue.Primitives --version 1.5.0-debug
NuGet\Install-Package TheSadRogue.Primitives -Version 1.5.0-debug
<PackageReference Include="TheSadRogue.Primitives" Version="1.5.0-debug" />
<PackageVersion Include="TheSadRogue.Primitives" Version="1.5.0-debug" />
<PackageReference Include="TheSadRogue.Primitives" />
paket add TheSadRogue.Primitives --version 1.5.0-debug
#r "nuget: TheSadRogue.Primitives, 1.5.0-debug"
#:package TheSadRogue.Primitives@1.5.0-debug
#addin nuget:?package=TheSadRogue.Primitives&version=1.5.0-debug&prerelease
#tool nuget:?package=TheSadRogue.Primitives&version=1.5.0-debug&prerelease
A collection of primitive data structures for working with a 2-dimensional grid.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
-
net5.0
- No dependencies.
-
net6.0
- No dependencies.
-
net7.0
- No dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on TheSadRogue.Primitives:
| Package | Downloads |
|---|---|
|
SadConsole
A library that emulates old-school console and command prompt style graphics. |
|
|
GoRogue
Roguelike/2D game utility library. |
|
|
TheSadRogue.Primitives.MonoGame
A collection of extension methods that allow TheSadRogue.Primitives types to easily interface with MonoGame's equivalents. |
|
|
TheSadRogue.Primitives.SFML
A collection of extension methods that allow TheSadRogue.Primitives types to easily interface with SFML's equivalents. |
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 SFML. 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.6.0 | 2,400 | 6/7/2025 |
| 1.6.0-rc3-debug | 3,034 | 6/18/2023 |
| 1.6.0-rc3 | 14,877 | 6/18/2023 |
| 1.6.0-rc2-debug | 2,633 | 5/11/2023 |
| 1.6.0-rc2 | 1,979 | 5/11/2023 |
| 1.6.0-rc1-debug | 302 | 3/18/2023 |
| 1.6.0-rc1 | 2,397 | 3/18/2023 |
| 1.6.0-debug | 175 | 6/7/2025 |
| 1.5.1 | 2,621 | 1/31/2023 |
| 1.5.1-debug | 294 | 1/31/2023 |
| 1.5.0 | 2,094 | 1/27/2023 |
| 1.5.0-debug | 277 | 1/27/2023 |
| 1.4.1 | 4,066 | 10/8/2022 |
| 1.4.1-debug | 304 | 10/8/2022 |
| 1.4.0 | 577 | 10/7/2022 |
| 1.4.0-debug | 279 | 10/7/2022 |
| 1.3.2 | 669 | 9/25/2022 |
| 1.3.2-debug | 350 | 9/25/2022 |
| 1.3.1 | 733 | 5/13/2022 |
| 1.3.1-debug | 342 | 5/13/2022 |
| 1.3.0 | 4,459 | 2/12/2022 |
| 1.3.0-debug | 335 | 2/12/2022 |
| 1.2.0 | 1,637 | 1/8/2022 |
| 1.2.0-debug | 338 | 1/8/2022 |
| 1.1.1 | 14,390 | 9/30/2021 |
| 1.1.1-debug | 396 | 9/30/2021 |
| 1.1.0 | 598 | 8/21/2021 |
| 1.1.0-debug | 393 | 8/21/2021 |
| 1.0.0 | 16,146 | 3/23/2021 |
| 1.0.0-debug | 459 | 3/23/2021 |
| 1.0.0-alpha9-debug | 434 | 1/25/2021 |
| 1.0.0-alpha9 | 424 | 1/25/2021 |
| 1.0.0-alpha8-debug | 2,077 | 12/11/2020 |
| 1.0.0-alpha8 | 1,429 | 12/11/2020 |
| 1.0.0-alpha7-debug | 2,104 | 11/23/2020 |
| 1.0.0-alpha7 | 512 | 11/23/2020 |
| 1.0.0-alpha6-debug | 499 | 10/25/2020 |
| 1.0.0-alpha6 | 1,262 | 10/25/2020 |
| 1.0.0-alpha5-debug | 3,362 | 7/14/2020 |
| 1.0.0-alpha5 | 1,348 | 7/14/2020 |
| 1.0.0-alpha4-debug | 2,583 | 6/28/2020 |
| 1.0.0-alpha4 | 1,514 | 6/28/2020 |
| 1.0.0-alpha3-debug | 2,580 | 5/23/2020 |
| 1.0.0-alpha3 | 590 | 5/23/2020 |
| 1.0.0-alpha2-debug | 2,316 | 4/18/2020 |
| 1.0.0-alpha2 | 541 | 4/18/2020 |
| 1.0.0-alpha1-debug | 2,664 | 12/8/2019 |
| 1.0.0-alpha1 | 1,498 | 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