fn build(&self, app: &mut App) {
        let state = PrintMessageState {
            message: self.message.clone(),
            timer: Timer::new(self.wait_duration, true),
        };
        app.insert_resource(state).add_system(print_message_system);
    }
// this is where we set up our plugin
this is where we set up our plugin
this is where we set up our plugin
fn build(&self, app: &mut App) {
        let state = PrintMessageState {
            message: self.message.clone(),
            timer: Timer::new(self.wait_duration, true),
        };
        app.insert_resource(state).add_system(print_message_system);
    }
fn build ( & self , app : & mut App ) { let state = PrintMessageState { message : self . message . clone ( ) , timer : Timer :: new ( self . wait_duration , true ) , } ; app . insert_resource ( state ) . add_system ( print_message_system ) ; }
this is where we set up our plugin
this is where we set up our plugin
&self
app
&mut App
&self
app
&mut App