Example #1
0
 public void flip()
 {
     //if(ix == GameDad.sol_index)
     //    return; // this is handled by earthblinks
     if (!GameDad.is_green(ix))
     {
         throw new Exception("red star was not green??");
     }
     if (star.size == 0.02f)
     {
         star.size  = 0.011f;
         star.color = greenstar.StarColor.RedSmall;
     }
     else
     {
         star.size  = 0.02f;
         star.color = greenstar.StarColor.RedLarge;
     }
     //star.size = 0.031f - star.size;
     GameDad.update_green(ix);
 }