fn notify_join_world(
    core: &Core,
    player: &mut (dyn Player),
    world: &mut World,
    surpress: &mut bool,
) {
    // Event already handled.
    if *surpress {
        return;
    }

    let nick_name = String::from(player.get_display_name());

    core.broadcast_message(
        player,
        &format!("{} &8joined the world \"{}\".", nick_name, world.get_name()),
    );
}
// TODO: Add world load event.
// TODO: Add world unload event.
Add world load event.
TODO: Add world unload event.
Add world load event . TODO : Add world unload event .
fn notify_join_world(
    core: &Core,
    player: &mut (dyn Player),
    world: &mut World,
    surpress: &mut bool,
) {
    // Event already handled.
    if *surpress {
        return;
    }
    let nick_name = String::from(player.get_display_name());
    core.broadcast_message(
        player,
        &format!("{} &8joined the world \"{}\".", nick_name, world.get_name()),
    );
}
fn notify_join_world ( core : & Core , player : & mut ( dyn Player ) , world : & mut World , surpress : & mut bool , ) { // Event already handled. if * surpress { return ; } let nick_name = String :: from ( player . get_display_name ( ) ) ; core . broadcast_message ( player , & format ! ( " \" \" " nick_name world get_name ( ) ) , ) ; }
TODO: Add world load event.
TODO : Add world load event .
core
&Core
player
&mut (dyn Player)
world
&mut World
surpress
&mut bool
core
&Core
player
&mut (dyn Player)
world
&mut World
surpress
&mut bool