/// <summary> /// Loads the content for this AnimatedGraphicsObject. /// </summary> /// <param name="fileTexture"> /// The texture of the ComplexGraphicsObject to take the textures from. /// </param> internal void LoadContentCGO(Texture2D fileTexture) { if (isLoaded && !isContentLoaded && CgoSourceRects.Any()) { foreach (Rectangle sourceRect in CgoSourceRects) { textures.Add(fileTexture.Crop(sourceRect)); } isContentLoaded = true; } }