-
Per a conversation on Discord with tettinger:
```CSharp
public override int GetHashCode()
{
int x = X + 3, y = Y + 3, n = (x >= y ? x * (x + 2) - y : y * y + x);
return ((n ^ (uint)n >> 1…
-
Hi
I'm not using directly ShaiRandom, but through GoRogue 3 with unity 3d.
I gave a try to GoRogue3 because GoRogue2 uses a dependency with the monogame framework, and this framework library is reje…
-
Currently, SpatialMap implementations require you to pass the position of an object in when it is added, and call the Move function whenever it moves. This can be inconvenient, since nearly any objec…
-
Hey, I believe I've found some unintended behavior with FleeMap.
Here is a snippet to reproduce:
```
using GoRogue;
using GoRogue.MapViews;
using GoRogue.Pathing;
...
// Arbitrary map s…
-
The current implementation of `MessageBus` will crash if an `ISubscriber` is subscribed to the bus from within an already-subscribed `ISubscriber`, because the lists of subscribers will be modified du…
-
develop-3.0 branch as at [8af4253d884e72490467fb1ecf5a0d56b53545c4](https://github.com/Chris3606/GoRogue/commit/8af4253d884e72490467fb1ecf5a0d56b53545c4)
Reproducible by creating a Generator, addin…
-
This seems like it could be a gnarly task if we attempt to do it from scratch. My vote is to integrate an existing library. I found a few:
- [libtcod](https://github.com/libtcod/libtcod): C++ libra…
-
-
# Issue
Currently, `RogulikeComponent` implements both `IGameObjectComponent` (via `ComponentBase`), and `SadConsole.Components.IComponent`. `IComponent` defines a `SortOrder` value, but GoRogue dep…
-
Each of the new generation steps includes a line similar to the following:
`var map = context.GetFirstOrNew(()=> new ArrayView(context.Width, context.Height));`
This is inherently unsafe, as the…