Changeset 6096 for 2015/24/ohjaajat


Ignore:
Timestamp:
2015-06-15 13:44:14 (4 years ago)
Author:
empaheik
Message:
 
Location:
2015/24/ohjaajat/Dungeon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 2015/24/ohjaajat/Dungeon/Dungeon/Dungeon/Dungeon.cs

    r6095 r6096  
    195195    public Barbaari(double width, double height, int tenacity, Image[] animaatio) : base(width, height) 
    196196    { 
    197         this.Animation = new Animation (animaatio); 
     197        this.Animation = new Animation(animaatio) { FPS = 8 }; 
    198198        this.Tenacity = new IntMeter(tenacity, 0, 2); 
    199199 
     
    582582 
    583583        barbaariAjastin.Start(barbaariMaara); 
    584         barbaariMaara += 2; 
     584        barbaariMaara = RandomGen.NextInt(1, kierros); 
    585585        KierrosKaynnissa++; 
    586586    } 
Note: See TracChangeset for help on using the changeset viewer.