Example #1
0
File: Spell.cs Project: jpx/blazera
        public Spell(Spell copy)
            : base(copy)
        {
            Effect = new AnimationMapEffect(copy.Effect);

            RangeArea = new CellArea(copy.RangeArea);
            EffectArea = new CellArea(copy.EffectArea);
        }
Example #2
0
 void AddSpellItem(Spell spell)
 {
     MenuItem spellItem = new MenuItem(spell.Name, ITEM_TEXT_SIZE);
     spellItem.Validated += new ValidationEventHandler(spellItem_Validated);
     AddItem(spellItem);
 }