// Constructor public DialogueBoxAlternativePlain(DialogueBranch group) : base(group) { Alternatives = new List <Alternative>(); CurrentAlternative = 0; // Position stuff origin = Vector2.Zero; size = new Vector2(202, 50); Position = new Vector2(Camera.View.X / 2 - 100, Camera.View.Y - 60); Font.LineSpacing = (int)(size.Y / 2) - FontSize; }
// COnstructor for box public DialogueBoxPlain(DialogueBranch group) : base(group) { // Position stuff offset = new Vector2(1, 2); size = new Vector2(202, 50); Position = new Vector2(Camera.View.X / 2 - 100, Camera.View.Y - 60); Font.LineSpacing = (int)(size.Y / 2) - FontSize; FontSize = 10; GameFonts.GahameFont.LineSpacing = (int)(size.Y / 2) - FontSize; textType = TextType.NORMAL; }
// Constructor with default settings public DialogueBox(DialogueBranch branch) { // Default values CharIndex = 0; UpdateSpeed = .25f; Skippable = true; this.branch = branch; // Default font Font = GameFonts.Arial; // Default fontsize FontSize = 8; }