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());