Use TypeId for system registration #3
No reviewers
Labels
No labels
bug
codex
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: reo/raidillon#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/refactor-system-id-to-typeids"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
TypeIdfor engine and rendering systemsadd::<System>()APIs and remove string constantsTesting
cargo testhttps://chatgpt.com/codex/tasks/task_e_68c0b1048e8c832f9e055fab11383c3e
@ -34,3 +34,2 @@pub fn add_system(&mut self, id: SystemID, system: Box<dyn System>) {self.systems.insert(id, system);pub fn add<S: System + Default + 'static>(&mut self) {@codex Please revert this.
@ -34,3 +34,2 @@pub fn add_system(&mut self, id: SystemID, system: Box<dyn System>) {self.systems.insert(id, system);pub fn add<S: System + Default + 'static>(&mut self) {Summary
System::updateto use thectxparameter name instead of an underscore-prefixed placeholder, preserving its visibility to implementers engine/src/system.rsL20-L21Testing
cargo testNotes
View task →