pub trait IsMovable2D {
// Required method
fn move_by(&mut self, x: f64, y: f64);
}
Expand description
IsMovable2D is a trait used for types within 2D space which can be moved
pub trait IsMovable2D {
// Required method
fn move_by(&mut self, x: f64, y: f64);
}
IsMovable2D is a trait used for types within 2D space which can be moved