[][src]Trait naia_shared::ActorMutator

pub trait ActorMutator {
    fn mutate(&mut self, property_index: u8);
}

Tracks which Properties have changed and need to be queued for syncing with the Client

Required methods

fn mutate(&mut self, property_index: u8)

Given the index of the Property whose value has changed, queue that Property for transmission to the Client

Loading content...

Implementors

Loading content...