Skip to content

Clean up Client ContainerSystem#6563

Open
TheShuEd wants to merge 2 commits into
space-wizards:masterfrom
TheShuEd:ed-12-05-2026-cleanup-container
Open

Clean up Client ContainerSystem#6563
TheShuEd wants to merge 2 commits into
space-wizards:masterfrom
TheShuEd:ed-12-05-2026-cleanup-container

Conversation

@TheShuEd
Copy link
Copy Markdown
Member

@TheShuEd TheShuEd commented May 12, 2026

some minor refactor of client ContainerSystem:

  • moved to file-scoped namespace
  • Added SpriteSystem dependency and rewrite obsoleted code from
sprite.ContainerOccluded = spriteOccluded;

to

_sprite.SetContainerOccluded((entity, sprite), spriteOccluded);
  • update EntityQuery initialization via dependency injection
    [Dependency] private EntityQuery<PointLightComponent> _pointLightQuery = default!;
    [Dependency] private EntityQuery<SpriteComponent> _spriteQuery = default!;

Zero logic changes

@TheShuEd TheShuEd changed the title Clean up ContainerSystem Clean up Client ContainerSystem May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant