Ejemplo n.º 1
0
 /// <summary>
 /// Adds the heliboy animations.
 /// </summary>
 private void addHeliboyAnimations()
 {
     hAnim = new Animation();
     hAnim.AddFrame(PictureManager.Pictures["heliboy1"], 100);
     hAnim.AddFrame(PictureManager.Pictures["heliboy2"], 100);
     hAnim.AddFrame(PictureManager.Pictures["heliboy3"], 100);
     hAnim.AddFrame(PictureManager.Pictures["heliboy4"], 100);
     hAnim.AddFrame(PictureManager.Pictures["heliboy5"], 100);
     hAnim.AddFrame(PictureManager.Pictures["heliboy4"], 100);
     hAnim.AddFrame(PictureManager.Pictures["heliboy3"], 100);
     hAnim.AddFrame(PictureManager.Pictures["heliboy2"], 100);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Adds the character animations.
 /// </summary>
 private void addCharacterAnimations()
 {
     anim = new Animation ();
     anim.AddFrame (PictureManager.Pictures ["character1"], 1250);
     anim.AddFrame (PictureManager.Pictures ["character2"], 50);
     anim.AddFrame (PictureManager.Pictures ["character3"], 50);
     anim.AddFrame (PictureManager.Pictures ["character2"], 50);
 }