A small library for .NET, giving access to priority based ticking of any number of objects. Load balances the invocation of the tick events for the objects, with a user definable maximum limit for objects to be processed in a single update. For most users, just download TickedPriorityQueue.dll, and UnityTickedQueue if applicable
C#
Switch branches/tags
Nothing to show
Clone or download
Ricardo J. Méndez
Ricardo J. Méndez Merge pull request #3 from ricardojmendez/master
Multiple changes and improvements
Latest commit 10ebf73 Aug 7, 2014

README.md

TickedPriorityQueue

A small library for .NET, giving access to priority based ticking of any number of objects.

It load balances the invocation of the tick events for object event handler, with a user definable maximum limit for objects to be processed in a single update.

Originally created by Michael Garforth and currently maintained by Ricardo J. Méndez. Pull requests are welcome.

Usage

You’ll need to build TickedPriorityQueue.dll from the included solution. If you plan to use it with Unity, UnityTickedQueue is a singleton that will simplify your life.

See the unit tests for use examples.

License

TickedPriorityQueue is open source software released under the MIT license. See LICENSE.txt for more details.