Ignore:
Timestamp:
2015-06-30 16:47:41 (5 years ago)
Author:
sieerinn
Message:

Tähtäysanimaatiot ja inventory äheltämistä.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel/LevelCreation.cs

    r6550 r6617  
    5151        player.SwingAnimations[Direction.Up] = playerSwingUp; 
    5252        player.SwingAnimations[Direction.Down] = playerSwingDown; 
     53        player.ShootAnimations[Direction.Left] = playerShootLeft; 
     54        player.ShootAnimations[Direction.Right] = playerShootRight; 
     55        player.ShootAnimations[Direction.Up] = playerShootUp; 
     56        player.ShootAnimations[Direction.Down] = playerShootDown; 
    5357        player.Image = playerWalkDown.CurrentFrame; 
    5458        Add(player, 1); 
    5559 
    56         player.ActiveItem = new Sword(player); 
    57         //player.ActiveItem = new Pistol(player); 
     60        player.Sword = new Sword(player); 
     61        player.Inventory.Add(new Pistol(player)); 
    5862 
    5963 
Note: See TracChangeset for help on using the changeset viewer.