Trait components::prelude::Pauseable
[−]pub trait Pauseable {
fn is_active(&self) -> bool;
fn set_active(&self, val: bool);
fn pause(&self);
fn resume(&self);
}
Expand description
The Pauseable should be implemented by objects intended to be temporarily disabled from the broad phase update traversal.
Required Methods
fn set_active(&self, val: bool)
fn set_active(&self, val: bool)
Set active state
fn pause(&self)
fn pause(&self)
Sets active to false.
fn resume(&self)
fn resume(&self)
Sets active to true.