TheSadRogue.Primitives 1.5.1

.NET 5.0 .NET Core 3.1 .NET Standard 2.1
dotnet add package TheSadRogue.Primitives --version 1.5.1
NuGet\Install-Package TheSadRogue.Primitives -Version 1.5.1
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.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TheSadRogue.Primitives --version 1.5.1
#r "nuget: TheSadRogue.Primitives, 1.5.1"
#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.1

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

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.1 101 1/31/2023
1.5.1-debug 44 1/31/2023
1.5.0 127 1/27/2023
1.5.0-debug 45 1/27/2023
1.4.1 480 10/8/2022
1.4.1-debug 48 10/8/2022
1.4.0 203 10/7/2022
1.4.0-debug 47 10/7/2022
1.3.2 258 9/25/2022
1.3.2-debug 55 9/25/2022
1.3.1 338 5/13/2022
1.3.1-debug 86 5/13/2022
1.3.0 825 2/12/2022
1.3.0-debug 68 2/12/2022
1.2.0 505 1/8/2022
1.2.0-debug 86 1/8/2022
1.1.1 3,325 9/30/2021
1.1.1-debug 118 9/30/2021
1.1.0 267 8/21/2021
1.1.0-debug 142 8/21/2021
1.0.0 4,252 3/23/2021
1.0.0-debug 196 3/23/2021
1.0.0-alpha9-debug 167 1/25/2021
1.0.0-alpha9 146 1/25/2021
1.0.0-alpha8-debug 452 12/11/2020
1.0.0-alpha8 396 12/11/2020
1.0.0-alpha7-debug 373 11/23/2020
1.0.0-alpha7 213 11/23/2020
1.0.0-alpha6-debug 223 10/25/2020
1.0.0-alpha6 315 10/25/2020
1.0.0-alpha5-debug 661 7/14/2020
1.0.0-alpha5 344 7/14/2020
1.0.0-alpha4-debug 585 6/28/2020
1.0.0-alpha4 431 6/28/2020
1.0.0-alpha3-debug 595 5/23/2020
1.0.0-alpha3 270 5/23/2020
1.0.0-alpha2-debug 455 4/18/2020
1.0.0-alpha2 246 4/18/2020
1.0.0-alpha1-debug 630 12/8/2019
1.0.0-alpha1 422 12/8/2019

- Added Lines class which contains static methods for creating lines on a grid
         - For performance reasons, you should prefer to use GetBresenhamLine, GetDDALine, or GetOrthogonalLine, if possible, as opposed to the generic GetLine
     - Added Shapes class which contains static methods for generating shapes on a grid