pub fn send_message(&mut self, entity: Entity, message: ChatMessage) -> SysResult {
        let mut mailbox = self.ecs.get_mut::<ChatBox>(entity)?;
        mailbox.send(message);
        Ok(())
    }
/// Utility method to send a message to an entity.
Utility method to send a message to an entity.
Utility method to send a message to an entity .
pub fn send_message(&mut self, entity: Entity, message: ChatMessage) -> SysResult {
        let mut mailbox = self.ecs.get_mut::<ChatBox>(entity)?;
        mailbox.send(message);
        Ok(())
    }
pub fn send_message ( & mut self , entity : Entity , message : ChatMessage ) -> SysResult { let mut mailbox = self . ecs . get_mut :: < ChatBox > ( entity ) ? ; mailbox . send ( message ) ; Ok ( ( ) ) }
Utility method to send a message to an entity.
Utility method to send a message to an entity .
&mut self
entity
Entity
message
ChatMessage
&mut self
entity
Entity
message
ChatMessage