Beispiel #1
0
 private void hatchPlayer(Egg e, Player p)
 {
     moveFromModeZeroToOne();
     Cat.Image                = Catagatchi.Properties.Resources.turd1;
     Cat.Location             = new System.Drawing.Point(TURD_POS_X, TURD_POS_Y);
     player                   = player_stage2;
     AnimationTimer.Enabled   = true;
     StatusCheckTimer.Enabled = true;
     m0_BirthTimer.Stop();
     stage2Watch.Start();
     Stage2Checker.Enabled = true;
 }
Beispiel #2
0
 public Form1()
 {
     InitializeComponent();
     playerEgg       = new Egg("Bowman");
     PlayerName.Text = playerEgg.getName();
     for (int i = 0; i < 3; i++)
     {
         errorMessagesTimers[i] = new Stopwatch();
     }
     m0_HatchProgressBar.Maximum = playerEgg.getTimeToHatch();
     mode         = 0;
     Cat.Image    = Catagatchi.Properties.Resources.Egg1;
     Cat.Location = new System.Drawing.Point(EGG_POS_X, EGG_POS_Y);
     wplayer.URL  = "Resources\\music.mp3";
 }