Beispiel #1
0
 public SpriterGuiLabel(
     string text,
     BitmapFont font,
     string spritePartCompleteFilename,
     CustomSpriterAnimator referenceAnimator,
     bool center = false) :
     base(text, font, Vector2.Zero, Color.Black, center)
 {
     _replacedPartFilename = spritePartCompleteFilename;
     _referenceAnimator    = referenceAnimator;
     _referenceAnimator.AddHiddenTexture(_replacedPartFilename);
 }