pub fn update(&mut self, x: f64, y: f64, mouse_down: bool, mouse_up: bool) {
        self.rect.set_pos(x, y);
        self.down = mouse_down;
        self.up = mouse_up;
    }
/// Update the state of the mouse
Update the state of the mouse
Update the state of the mouse
pub fn update(&mut self, x: f64, y: f64, mouse_down: bool, mouse_up: bool) {
        self.rect.set_pos(x, y);
        self.down = mouse_down;
        self.up = mouse_up;
    }
pub fn update ( & mut self , x : f64 , y : f64 , mouse_down : bool , mouse_up : bool ) { self . rect . set_pos ( x , y ) ; self . down = mouse_down ; self . up = mouse_up ; }
Update the state of the mouse
Update the state of the mouse
&mut self
x
f64
y
f64
mouse_down
bool
mouse_up
bool
&mut self
x
f64
y
f64
mouse_down
bool
mouse_up
bool