public NotifierMessage(String message, double startTime, Interpolator fadeOut) { Message = message; StartTime = startTime; FadeOutInterpolator = fadeOut; StartFadeOut = false; }
/// <summary> /// A static constructor to initialize all of the necessary member fields. /// </summary> /// <remarks> /// You don't need to call this constructor. This constructor is called automatically when /// you access any of its properties or functions. /// </remarks> static Notifier() { notifications = new List<NotifierMessage>(); placement = NotifierPlacement.TopRight; fadeoutInterporator = new Interpolator(255, 0, 1000, InterpolationMethod.Linear); fadeoutTime = -1; font = null; customLocation = Vector2.Zero; customAppearDir = Vector2.Zero; color = Color.Red; }