private void DrawIDrawableComponent(IDrawableComponent component) { if (component.isVisible()) { component.Draw(_spriteBatch); } }