Implement Entity.index() method for Issue #73
Added index() method to Entity class that returns the entity's position in its parent grid's entity collection. This enables proper entity removal patterns using entity.index().
This commit is contained in:
parent
6134869371
commit
923350137d
6 changed files with 234 additions and 5 deletions
20
ROADMAP.md
20
ROADMAP.md
|
|
@ -189,11 +189,21 @@ Created comprehensive test suite with 13 tests covering all Python-exposed metho
|
|||
|
||||
### Phase 1: Foundation Stabilization (1-2 weeks)
|
||||
```
|
||||
1. Fix Grid Segfault - CRITICAL: Unblocks all Grid functionality
|
||||
2. Fix #78 Middle Mouse Click bug - Confirmed event handling issue
|
||||
3. Fix Entity/Sprite property setters - Multiple Python binding errors
|
||||
4. Critical Bugfixes (#77, #74, #37) - Fix remaining pain points
|
||||
5. Alpha Blockers (#3, #2) - Remove deprecated methods
|
||||
✅ COMPLETE AS OF 2025-01-03:
|
||||
1. ✅ Fix Grid Segfault - Grid now supports None/null textures
|
||||
2. ✅ Fix #78 Middle Mouse Click bug - Event type checking added
|
||||
3. ✅ Fix Entity/Sprite property setters - PyVector conversion fixed
|
||||
4. ✅ Fix #77 - Error message copy/paste bug fixed
|
||||
5. ✅ Fix #74 - Grid.grid_y property added
|
||||
6. ✅ Fix keypressScene() validation - Now rejects non-callable
|
||||
7. ✅ Fix Sprite texture setter - No longer returns error without exception
|
||||
8. ✅ Fix PyVector x/y properties - Were returning None
|
||||
|
||||
REMAINING IN PHASE 1:
|
||||
9. Fix #73 - Entity.index() method for removal
|
||||
10. Fix #27 - EntityCollection.extend() method
|
||||
11. Fix #33 - Sprite index validation
|
||||
12. Alpha Blockers (#3, #2) - Remove deprecated methods
|
||||
```
|
||||
|
||||
### Phase 2: Alpha Release Preparation (4-6 weeks)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue