feat(entity): implement path_to() method for entity pathfinding

- Add path_to(target_x, target_y) method to UIEntity class
- Uses existing Dijkstra pathfinding implementation from UIGrid
- Returns list of (x, y) coordinate tuples for complete path
- Supports both positional and keyword argument formats
- Proper error handling for out-of-bounds and no-grid scenarios
- Comprehensive test suite covering normal and edge cases

Part of TCOD integration sprint - gives entities immediate pathfinding capabilities.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
John McCardle 2025-07-09 13:01:03 -04:00
commit 7ee0a08662
11 changed files with 1163 additions and 30 deletions

BIN
dijkstra_working.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB