Skip to main content

System

Trait System 

Source
pub trait System: Send + Sync {
    // Required methods
    fn run(&mut self, world: &World, dt: f32);
    fn access_info(&self) -> AccessInfo;
}
Expand description

Bir sistem: her frame’de çalıştırılabilir mantık birimi.

Required Methods§

Source

fn run(&mut self, world: &World, dt: f32)

Source

fn access_info(&self) -> AccessInfo

Implementors§

Source§

impl System for ConditionalSystem

Source§

impl<F> System for F
where F: FnMut(&World, f32) + Send + Sync + 'static,