Commit Graph
5 Commits
Author SHA1 Message Date
mr.zeroandClaude Opus 5 220985ec57 Declare the managers in boot.go, hand them to the engine whole
ci/woodpecker/push/ebitengine Pipeline was successful
boot.manager.go becomes boot.go and carries all seven managers as one
block, so what the game holds reads in one place instead of a line hidden
in each category file. The category files keep their entity alias.

The hand-off stops copying. Our managers are the same *inkwell.Manager[T]
the Game holds, so New assigns them onto it and engine and game share one
registry per category. content.manager.go is gone with the copy loop.

Themes stay additive — NewGame seeds four presets we would otherwise
throw away — and registerScene becomes prepareScene, which now has to run
before the hand-off: with no copy pass left, the scene defaults are
written back into SceneManager with Set.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-30 10:37:02 +02:00
mr.zeroandClaude Opus 5 07312f0f29 Drop the duplicate Manager, use inkwell's
ci/woodpecker/push/ebitengine Pipeline was successful
The engine already had the registry the game was reimplementing:
inkwell.Manager[T Named], and every entity type here is an alias of an
engine struct, so they all carry GetName() already. manager.manager.go
and manager.interface.go are gone; a category manager is now one call to
inkwell.NewManager.

registerAll goes with it — Each does the hand-off — and the selector
writes its derived pins back with Set, which keeps the scene in place in
the registration order.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-30 09:51:17 +02:00
mr.zero da1410cb4a screen to scene
ci/woodpecker/push/ebitengine Pipeline was successful
2026-08-30 00:15:26 +02:00
mr.zero 45dac473fd game skeleton
ci/woodpecker/push/ebitengine Pipeline was successful
2026-08-29 19:16:40 +02:00
mr.zero 0d8918e6f5 game skeleton 2026-08-29 19:07:32 +02:00