示例#1
0
 public void GetShakes(int index)
 {
     if (index < Shakes.Count && index > -1)
     {
         Shake shake = Shakes[index];
         Messages.Add(shake.GetTemplate());
         if (shake is Shake)
         {
             Shake shakeMenu = (Shake)shake;
         }
     }
     else
     {
         Messages.Add("Invalid Choice... Find a Real Shake");
     }
 }