use super::*;
#[derive(Clone, Copy, Data, Debug, PartialEq)]
pub struct Camera2D {
#[get(type(copy))]
pub(crate) position: Point,
#[get(type(copy))]
pub(crate) zoom: f32,
#[get(type(copy))]
pub(crate) trauma: f32,
#[get(type(copy))]
pub(crate) max_shake: f32,
#[get(type(copy))]
pub(crate) shake_time: f32,
#[get(skip)]
pub(crate) world_bounds: Option<Rect>,
}