refactor: move position property to UIDrawable base class (UISprite)
- Update UISprite to use base class position instead of sprite position - Synchronize sprite position with base class position for rendering - Implement onPositionChanged() for position synchronization - Update all UISprite methods to use base position consistently - Add comprehensive test coverage for UISprite position handling This is part 3 of moving position to the base class. UIGrid is the final class that needs to be updated.
This commit is contained in:
parent
5d24ba6a85
commit
e1c6c53157
3 changed files with 28 additions and 15 deletions
BIN
base_position_uisprite_test.png
Normal file
BIN
base_position_uisprite_test.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 39 KiB |
Loading…
Add table
Add a link
Reference in a new issue