Exemple #1
0
 void HandleFlameAttack(ICreature sender)
 {
     Vector2 testLocation = new Vector2(sender.WorldIndex.X , sender.WorldIndex.Y);
     Fire testFlame = new Fire(testLocation, this);
     testFlame.Flame += new Fire.FlamingAttackEvent(Flame_Out);
     _fire.Add(testFlame);
 }
Exemple #2
0
 void Flame_Out(Fire sender)
 {
     _fire.Remove(sender);
 }