use std::fmt::Debug;
use nalgebra::Vector2;
pub trait Body: Debug {
fn get_position(&self) -> &Vector2<f32>;
fn set_position(&mut self, position: Vector2<f32>);
fn get_velocity(&self) -> &Vector2<f32>;
fn set_velocity(&mut self, velocity: Vector2<f32>);
fn get_mass(&self) -> f32;
fn set_mass(&mut self, mass: f32);
fn apply_force(&mut self, force: Vector2<f32>);
fn update(&mut self, delta_time: f32, acceleration: f32);
}