예제 #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);
 }
예제 #2
0
 void Flame_Out(Fire sender)
 {
     _fire.Remove(sender);
 }