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); }
public OverlayWord SetAnimationType(TextOverlayAnimationTypes animationType, float durationScale) { this.type = animationType; this.durationScale = durationScale; return(this); }