From 5217ce9bf09c375f516584833380cb4a04c7e1dd Mon Sep 17 00:00:00 2001 From: vaporvee Date: Sun, 12 Feb 2023 10:46:51 +0100 Subject: [PATCH] removed some useless lines --- src/scene-scripts/dialogue-system/dialog_bubble.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/scene-scripts/dialogue-system/dialog_bubble.cs b/src/scene-scripts/dialogue-system/dialog_bubble.cs index bf51b29..82d72d3 100644 --- a/src/scene-scripts/dialogue-system/dialog_bubble.cs +++ b/src/scene-scripts/dialogue-system/dialog_bubble.cs @@ -1,6 +1,5 @@ using Godot; using System.Text.RegularExpressions; -using System.Threading.Tasks; public partial class dialog_bubble : CanvasLayer { @@ -11,7 +10,6 @@ public partial class dialog_bubble : CanvasLayer public Timer typewriterTimer; public string name; public Area2D triggerArea; - /*TODO: - Dont repeat the same randomized dialogue after you get asked do you need something "else" - add tree support (example: "story" key) @@ -46,7 +44,6 @@ public partial class dialog_bubble : CanvasLayer Visible = true; } - public void GatherDialog(string key) { dlgPointer = 0; @@ -54,7 +51,6 @@ public partial class dialog_bubble : CanvasLayer dlgLines = dlgLines.AsGodotArray()[GD.RandRange(0, dlgLines.AsGodotArray().Count - 1)]; //TODO:copy a clean default array and remove already used indexes and copy from clean array when its empty } - public override void _Process(double delta) { DialogControlls();