Commit b6fd827b authored by Florian Blasius's avatar Florian Blasius 🤘

Borrow ecm from world.

parent cd2969c4
Pipeline #2437 passed with stages
in 1 minute and 47 seconds
......@@ -80,10 +80,15 @@ where
/// Removes the given `entity`.
pub fn remove_system(&mut self, system_id: u32) {
pub fn remove_system(&mut self, system_id: u32) {
/// Borrows mutable the entity component manager.
pub fn entity_component_manager(&mut self) -> &mut EntityComponentManager {
&mut self.entity_component_manager
/// Run all systems of the world.
pub fn run(&mut self) {
let priorities = &self.entity_system_manager.priorities;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment