public void render(Shader shader)
    {
        for(GameComponent component : components){
                component.render(shader);
        }

        for(GameObject child : children)
            child.render(shader);
    }