Пример #1
0
 public void Load()
 {
     Nothing       = new Animation(Ressource.Nothing, 80, 0.4f, 1, true);
     Running       = new Animation(Ressource.Running, 80, 0.1f, 1, true);
     Jumping       = new Animation(Ressource.Jumping, 110, 0.1f, 1, false);
     JumpingAttack = new Animation(Ressource.JumpingAttack, 80, 0.1f, 1, true);
     Degaine       = new Animation(Ressource.Degaine, 100, 0.1f, 1, true);
     RunningSword  = new Animation(Ressource.RunningSword, 90, 0.1f, 1, true);
     NothingSword  = new Animation(Ressource.NothingSword, 80, 0.4f, 1, true);
     Attack1       = new Animation(Ressource.Attack1, 80, 0.1f, 1, true);
     Attack2       = new Animation(Ressource.Attack2, 80, 0.1f, 1, true);
     Attack3       = new Animation(Ressource.Attack3, 100, 0.1f, 1, true);
     APJoueur      = new AnimationPlayer();
     Vie           = new BarreDeVie(new Vector2(Position.X, Position.Y), 100);
 }
Пример #2
0
 public void Load()
 {
     Nothing            = new Animation(Ressource.NothingK, 80, 0.4f, 1, true);
     Running            = new Animation(Ressource.RunningK, 80, 0.1f, 1, true);
     Jumping            = new Animation(Ressource.JumpingK, 80, 0.1f, 1, false);
     Aspiration         = new Animation(Ressource.AspirationK, 80, 0.1f, 1, true);
     AspirationContinue = new Animation(Ressource.AspirationContinueK, 80, 0.1f, 1, true);
     NothingA           = new Animation(Ressource.NothingKA, 80, 0.4f, 1, true);
     RunningA           = new Animation(Ressource.RunningKA, 80, 0.1f, 1, true);
     Lauching           = new Animation(Ressource.LauchingK, 80, 0.3f, 1, false);
     AirLunch           = new Animation(Ressource.AirLunchK, 80, 0.1f, 1, false);
     NothingT           = new Animation(Ressource.NothingKT, 80, 0.4f, 1, true);
     WalkingT           = new Animation(Ressource.WalkingKT, 80, 0.1f, 1, true);
     AttackT            = new Animation(Ressource.AttackKT, 90, 0.1f, 1f, true);
     Transforming       = new Animation(Ressource.TransformingK, 80, 0.1f, 1, true);
     APJoueur           = new AnimationPlayer();
     APAir = new AnimationPlayer();
     Vie   = new BarreDeVie(new Vector2(Position.X, Position.Y), 100);
 }