Start() приватный Метод

private Start ( ) : void
Результат void
Пример #1
0
 // Controlls what the buttons do when clicked.
 public void button_controller_1()
 {
     if (textController.myState == TextController.States.cell)
     {
         textController.view();
     }
     else if (textController.myState == TextController.States.monitor)
     {
         textController.view();
     }
     else if (textController.myState == TextController.States.look)
     {
         textController.back_wall();
     }
     else if (textController.myState == TextController.States.shield)
     {
         textController.view();
     }
     else if (textController.myState == TextController.States.back_wall)
     {
         textController.vent();
     }
     else if (textController.myState == TextController.States.vent)
     {
         textController.cell_2();
     }
     else if (textController.myState == TextController.States.cell_2)
     {
         textController.camera_look();
     }
     else if (textController.myState == TextController.States.camera_look)
     {
         textController.Smash();
     }
     else if (textController.myState == TextController.States.smash)
     {
         textController.crawl();
     }
     else if (textController.myState == TextController.States.crawl)
     {
         textController.left();
     }
     else if (textController.myState == TextController.States.left)
     {
         textController.free();
     }
     else if (textController.myState == TextController.States.free)
     {
         textController.escape();
     }
     else if (textController.myState == TextController.States.escape)
     {
         textController.Start();
     }
     else if (textController.myState == TextController.States.right)
     {
         textController.caught();
     }
     else if (textController.myState == TextController.States.caught)
     {
         textController.game_over();
     }
     else if (textController.myState == TextController.States.game_over)
     {
         textController.crawl();
     }
 }