TextField[] textFieldMessage = new TextField[5]; // max 5 lines public NotificationBox(Interface interf) : base ( interf, BackgroundPattern.CreateNotificationBoxBackground(interf.RenderView.SpriteFactory), Border.CreateNotificationBoxBorder(interf.RenderView.SpriteFactory) ) { this.interf = interf; InitRenderComponents(); }