public Sprite(TextureRegion2D region) : base() { TextureRegion = region; }
/// <summary> /// Sets the texture for the particle. This can be overridden to allow /// for an animated particle. /// </summary> /// <param name="texture">The texture to set.</param> public virtual void ApplyArt(TextureRegion2D texture) { TextureRegion = texture; }
public Sprite(Texture2D texture) : base() { TextureRegion = new TextureRegion2D(texture); }