I'm halfway through the Roguelike tutorial and I would like to move my render logic into a System and use a Dispatcher instead of manually running systems. In this case bracket-lib has a tick where you mutably borrow a BTerm instance, but it feels like this is a common pattern where some kind of context is mutably borrowed.
What's the best practice here? Should we just build a dispatcher per tick and pass the context in the system struct?
I'm halfway through the Roguelike tutorial and I would like to move my render logic into a
Systemand use aDispatcherinstead of manually running systems. In this casebracket-libhas atickwhere you mutably borrow aBTerminstance, but it feels like this is a common pattern where some kind of context is mutably borrowed.What's the best practice here? Should we just build a dispatcher per tick and pass the context in the system struct?