root.addComponent(gridLine);
gridLine.addComponent(new GridLine());
gridLine.addComponent(new SpriteComponent("res/img/square.png", 10, 50));
gridLine.addComponent(new PositionComponent(500,500));
gridLine.addComponent(new OrientationComponent(100));
gridLine.addComponent(new CollisionComponent(new LineCollisionMask(new Line(0, 0, 0, 100))));
//gridLine.addComponent(new CollisionComponent(new RectangularCollisionMask(new Rectangle(10, 50))));
ParentComponent cursor = new ParentComponent();
root.addComponent(cursor);
cursor.addComponent(new MouseFollowerComponent());
cursor.addComponent(new PositionComponent(0,0));
cursor.addComponent(new SpriteComponent("res/img/dot.png",new Vector2f(-5,-5),10,10));
//cursor.addComponent(new CollisionComponent(new PointCollisionMask()));
cursor.addComponent(new CollisionComponent(new CircularCollisionMask(5)));
//cursor.addComponent(new CollisionComponent(new RectangularCollisionMask(new Rectangle(10, 10), new Vector2f(-5, -5))));
}