public void input(float delta)
    {
        for(GameComponent component : components)
            component.input(delta);

        for(GameObject child : children)
            child.input(delta);
    }