jukkae / rascal

A roguelike.
Other
1 stars 0 forks source link

Actions should have target distance #243

Open jukkae opened 5 years ago

jukkae commented 5 years ago

Either on target, next to target or, possibly, arbitrary distance to target. This has important consequences to pathfinding, or more properly, to filling ActionQueue: If action can only be performed on top of target, then pathfinding needs to guide all the way to target square. If action can be performed from the square next to target, only seek to that square, etc.