Beispiel #1
0
 public OverlayWord(string word)
 {
     txt = word;
     this.durationScale = 1f;
     this.sizeScale     = 1f;
     this.font          = TextOverlayFonts.RobotoThin;
     this.type          = TextOverlayAnimationTypes.NoEffect;
     this.audio         = null;
     this.silent        = false;
     this.color         = new Color(1.0f, 1.0f, 1.0f, TextManager.THIS.currentAlpha);
 }
Beispiel #2
0
 public OverlayWord SetAnimationType(TextOverlayAnimationTypes animationType, float durationScale)
 {
     this.type          = animationType;
     this.durationScale = durationScale;
     return(this);
 }