Ignore:
Timestamp:
2015-06-26 11:05:42 (6 years ago)
Author:
anlakane
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora/Attack to Agora/Attack_to_Agora_mitja.cs

    r6440 r6443  
    2121    Image ajHBarEmpty = LoadImage("ajheathbarempty"); 
    2222    Image ajHBarFull = LoadImage("ajheathbarfull"); 
    23  
     23    Animation tuliAnimaatio; 
    2424 
    2525    Elava currentBoss; 
     
    253253 
    254254 
     255        PhysicsObject tuli = new PhysicsObject(170, 70); 
     256        tuli.Tag = "tuli"; 
     257        tuli.Color = Color.Red; 
     258 
     259        Timer fireT = new Timer(); 
     260        fireT.Interval = 1.0 / 60.0; 
     261        fireT.Timeout += delegate 
     262        { 
     263 
     264        }; 
     265        fireT.Start(); 
     266 
     267        anttiJussi.Kuoli += delegate { 
     268            tuli.Destroy(); 
     269            fireT.Stop();  
     270        }; 
     271         
    255272    } 
    256273 
Note: See TracChangeset for help on using the changeset viewer.