diff options
| author | AShifter <[email protected]> | 2018-02-25 14:29:41 -0700 |
|---|---|---|
| committer | AShifter <[email protected]> | 2018-02-25 14:29:41 -0700 |
| commit | 24eea3c6900a718ffca598c0b751e16a097bf57d (patch) | |
| tree | efdf0e1b1c4275fddeb3c24d306805c2f3a286b9 /ShiftOS.Main/Terminal/Commands/TestStory.cs | |
| parent | f847236b78d00b9e3c528938fe1331f6817d3dde (diff) | |
| download | shiftos-rewind-24eea3c6900a718ffca598c0b751e16a097bf57d.tar.gz shiftos-rewind-24eea3c6900a718ffca598c0b751e16a097bf57d.tar.bz2 shiftos-rewind-24eea3c6900a718ffca598c0b751e16a097bf57d.zip | |
clean up resources
let's get this show on the road baby
Diffstat (limited to 'ShiftOS.Main/Terminal/Commands/TestStory.cs')
| -rw-r--r-- | ShiftOS.Main/Terminal/Commands/TestStory.cs | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/ShiftOS.Main/Terminal/Commands/TestStory.cs b/ShiftOS.Main/Terminal/Commands/TestStory.cs deleted file mode 100644 index b3c0989..0000000 --- a/ShiftOS.Main/Terminal/Commands/TestStory.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Threading; -using System.Threading.Tasks; - -namespace ShiftOS.Main.Terminal.Commands -{ - public class TestStory : TerminalCommand - { - public override string Name { get; } = "teststory"; - public override string Summary { get; } = "Debug Command - Test the intro"; - public override string Usage { get; } = "teststory"; - public override bool Unlocked { get; set; } = false; - - public override void Run(params string[] parameters) - { - var r = new Random(); - WriteLine($"Incoming connection from {r.Next(0, 256)}.{r.Next(0, 256)}.{r.Next(0, 256)}.{r.Next(0, 256)}..."); - WriteLine(); //The various Task.Delay functions are to make the Thread.Sleep function work. - Thread.Sleep(r.Next(2000, 4500)); - WriteLine("User set alias as \"DevX\"."); - Task.Delay(1); - Thread.Sleep(4000); - WriteLine("User <DevX> has connected successfully!"); - Task.Delay(1); - Thread.Sleep(3400); - StoryWriteLine("Well, it seems ShiftOS has installed. Congrats.... err... whatever your name is."); - } - private void StoryWriteLine(string value) - { - WriteLine($"[devx@master ~]$ {value}"); - } - } -} |
