fn draw_message(&mut self)
	{
		if self.message_queue.is_empty() == false
		{
			let message = self.message_queue.pop_back().unwrap();
			let pos_x = self.width/2-message.len()/2;
			self.rustbox.print(pos_x, self.height-1, rustbox::RB_NORMAL, Color::Black, COLOR, &format!("{}", message));
		}
	}
//pull a message from queue and display it
pull a message from queue and display it
pull a message from queue and display it
fn draw_message(&mut self)
	{
		if self.message_queue.is_empty() == false
		{
			let message = self.message_queue.pop_back().unwrap();
			let pos_x = self.width/2-message.len()/2;
			self.rustbox.print(pos_x, self.height-1, rustbox::RB_NORMAL, Color::Black, COLOR, &format!("{}", message));
		}
	}
fn draw_message ( & mut self ) { if self . message_queue . is_empty ( ) == false { let message = self . message_queue . pop_back ( ) . unwrap ( ) ; let pos_x = self . width / 2 - message . len ( ) / 2 ; self . rustbox . print ( pos_x , self . height - 1 , rustbox :: RB_NORMAL , Color :: Black , COLOR , & format ! ( " " message ) ) ; } }
pull a message from queue and display it
pull a message from queue and display it
&mut self
&mut self