Ignore:
Timestamp:
2016-07-07 16:09:08 (3 years ago)
Author:
sieerinn
Message:

Kyykkykuvat peliin asti

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2016/27/ohjaajat/VenienteFragore/VenienteFragore/VenienteFragore/LevelCreationMethods.cs

    r7920 r7976  
    7979            var advenA = MakePlayer(position, width, height, 1, new List<Key> { Key.Up, Key.Down, Key.Left, Key.Right, Key.Enter }); 
    8080            advenA.Color = Color.HotPink; 
    81             advenA.Animation = new Animation(advenaImages); 
    82             advenA.Animation.Start(); 
     81            advenA.AnimWalk = new Animation(advenaImages); 
     82            advenA.AnimWalk.Start(); 
     83            advenA.AnimCrouch = new Animation(advenaCrouch); 
     84            advenA.AnimCrouch.Start(); 
    8385            advenae.Add(advenA); 
    8486            return advenA; 
     
    9193            var advenB = MakePlayer(position, width, height, 2, new List<Key> { Key.W, Key.S, Key.A, Key.D, Key.E }); 
    9294            advenB.Color = Color.Harlequin; 
    93             advenB.Animation = new Animation(advenbImages); 
    94             advenB.Animation.Start(); 
     95            advenB.AnimWalk = new Animation(advenbImages); 
     96            advenB.AnimWalk.Start(); 
     97            advenB.AnimCrouch = new Animation(advenbCrouch); 
     98            advenB.AnimCrouch.Start(); 
    9599            advenae.Add(advenB); 
    96100            return advenB; 
Note: See TracChangeset for help on using the changeset viewer.