use crate::{Arc, Line, Point};
use specs::prelude::*;
#[allow(unused_imports)]
use crate::components::Layer;
#[derive(Debug, Clone, PartialEq)]
pub struct DrawingObject {
pub geometry: Geometry,
pub layer: Entity,
}
impl Component for DrawingObject {
type Storage = FlaggedStorage<Self, DenseVecStorage<Self>>;
}
#[derive(Debug, Clone, PartialEq)]
#[non_exhaustive]
pub enum Geometry {
Line(Line),
Arc(Arc),
Point(Point),
}