public GameComponent getComponent(String key){
        for (GameComponent component:components){
            if (component.getName().equals(key)){
                return component;
            }
        }
        new RugieError(this, "Could not find gameComponent: " + key).show();
        return new GameComponent("MENOTEXIST");
    }