Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   writable attribute for tiles (https://forums.graalonline.com/forums/showthread.php?t=65898)

Dach 05-07-2006 10:43 PM

writable attribute for tiles
 
If there was either an attribute that we could write to for the tile object, or if tiles could join a class, making a pathfinder would be made immensely more efficient since you wouldn't need a list to contain all the closed nodes (single tile or otherwise). I'm sure there would be other possibilities to this, but I'm only interested in pathfinding.

jake13jake 05-08-2006 04:27 PM

Quote:

Originally Posted by Dach
If there was either an attribute that we could write to for the tile object, or if tiles could join a class, making a pathfinder would be made immensely more efficient since you wouldn't need a list to contain all the closed nodes (single tile or otherwise). I'm sure there would be other possibilities to this, but I'm only interested in pathfinding.

Once you find a tile, add it to a list, and make sure it's not in the list? Though, yea, the only reason this would be really useful would be for level-editing purposes (they could store a tiletype as well, for broader pathfinding?)


All times are GMT +2. The time now is 05:52 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.