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