pico_engine_core/components/
size.rs

1use crate::ecs::component::Component;
2
3pub struct Size {
4    pub width: u16,
5    pub height: u16,
6}
7impl Size {
8    pub fn new(width: u16, height: u16) -> Self {
9        Size { width, height }
10    }
11}
12impl Component for Size {}