Exemple #1
0
 public OutputToConsole()
 {
     IInputGatherer boss = new BaseGatherer();
     Thread controller = new Thread(new Xbox360Pad(boss).Main);
     controller.Start();
     boss.RegisterListener(this);
     System.Console.WriteLine("Output set up.");
     //while (true) { }
 }
Exemple #2
0
        public OutputToConsole()
        {
            IInputGatherer boss       = new BaseGatherer();
            Thread         controller = new Thread(new Xbox360Pad(boss).Main);

            controller.Start();
            boss.RegisterListener(this);
            System.Console.WriteLine("Output set up.");
            //while (true) { }
        }
Exemple #3
0
 DisplayTest()
 {
     IInputGatherer boss = new BaseGatherer();
     Thread controller = new Thread(new Xbox360Pad(boss).Main);
     controller.Start();
     boss.RegisterListener(display);
     Application.Run(display);
     //IInputListener console = new OutputToConsole(boss);
     //boss.RegisterListener(console);
     System.Console.WriteLine("Build Done.");
 }