To download this library for your Linux/Mac installation, enter this on your command line:
DreamDownload byond://Theodis.Region##version=2 Emulator users, in the BYOND pager go to File | Open Location and enter this URL:byond://Theodis.Region##version=2 |
Updates:
Version 2 - 1/28/2009 Massive speed increase Usage Region The region object performs a flood fill to find all nodes within a graph connected to an initial node according to the logic of the proc passed into the constructor. New(source,accessibleNodes) source - The node to begin the search at. accessibleNodes - A proc that accepts a node on the graph being search and returns all connected nodes that meet the desired criteria of the search. Creates the region datum and performs the search. Results are stored within the datums contents[] var. Update() Performs the search again using the same criteria as when the object was created. |
Please support BYOND through Membership or a donation!
Murrawhip: (Jan 28 2014, 9:22 am)
Note that this library includes the map outside of the demo tags in the DME.
IainPeregrine: (Aug 5 2011, 4:58 am)
Whenever I'm serious about making a game, I always come back to your libraries. I can't believe something like this has only been downloaded 33 times.
|
Related Libraries
|
|||||||||||||||||||||||||||||||||||
More Libraries by Theodis
|
Copyright © 2024 BYOND Software.
All rights reserved.