IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 1 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New It may need it's own class...
but it can be a function of the map. (It's not that hard)

Basically, you use Dijkstra's (or Floyd's) algorithm to find the shortest path - with movement modifiers representing the resistance.

But I'd probably put it in it's own class - only because you want to pass into it the movement types available to the unit so that it can compute shortest possible distance regardless of the type of the unit.
Collapse Edited by Simon_Jester May 17, 2003, 11:38:05 AM EDT
It may need it's own class...
but it can be a function of the map. (It's not that hard)

Basically, you use Dystra (or the other guy..damn, need to look it up) algorithm to find the shortest path - with movement modifiers representing the resistance.
Collapse Edited by Simon_Jester May 17, 2003, 11:39:54 AM EDT
It may need it's own class...
but it can be a function of the map. (It's not that hard)

Basically, you use Dijkstra's (or Floyd's) algorithm to find the shortest path - with movement modifiers representing the resistance.
     [Civlike] Anybody see any problems with this structure? - (inthane-chan) - (12)
         Re: [Civlike] Anybody see any problems with this structure? - (JimWeirich) - (6)
             Agreement - - (Simon_Jester) - (1)
                 That's why City derives from Placeable. - (inthane-chan)
             Thanks. - (inthane-chan) - (2)
                 My 2nd favorite song, Thane. Knew you were cool... :) -NT - (tseliot) - (1)
                     My .sig? Yup, great song. -NT - (inthane-chan)
             Here's one I forgot to mention - (JimWeirich)
         Re: [Civlike] Anybody see any problems with this structure? - (Arkadiy) - (2)
             Good points. Thanks. -NT - (inthane-chan)
             OT: *Great* .sig! (new thread) - (CRConrad)
         Re: [Civlike] Anybody see any problems with this structure? - (JayMehaffey) - (1)
             It may need it's own class... - (Simon_Jester)

How much more correcter could this phrase get? None more correcter.
55 ms