コード例 #1
0
ファイル: UI.cs プロジェクト: picoriley/metallic-predators
 public static void Write(string message)
 {
     if (OnMessage != null)
     {
         EventArgsString argument = new EventArgsString(message);
         OnMessage(null, argument);
     }
 }
コード例 #2
0
ファイル: UI.cs プロジェクト: picoriley/metallic-predators
 public static void waitForConfirmation()
 {
     if (PressEnter != null)
     {
         EventArgsString argument = new EventArgsString("");
         PressEnter(null, argument);
     }
 }
コード例 #3
0
 void UI_PressEnter(object sender, EventArgsString e)
 {
     Console.WriteLine("(Press Enter to Continue)");
     Console.ReadLine();
     Console.Clear();
 }
コード例 #4
0
 void UI_OnMessage(object sender, EventArgsString e)
 {
     ParseColors(e.ToString());
 }
コード例 #5
0
ファイル: UI.cs プロジェクト: picoriley/metallic-predators
 static void ConsoleListener_OnInput(object sender, EventArgsString e)
 {
     input = e.ToString();
 }