예제 #1
0
파일: Spell.cs 프로젝트: jpx/blazera
        public Spell(Spell copy)
            : base(copy)
        {
            Effect = new AnimationMapEffect(copy.Effect);

            RangeArea = new CellArea(copy.RangeArea);
            EffectArea = new CellArea(copy.EffectArea);
        }
예제 #2
0
파일: SpellMenu.cs 프로젝트: jpx/blazera
 void AddSpellItem(Spell spell)
 {
     MenuItem spellItem = new MenuItem(spell.Name, ITEM_TEXT_SIZE);
     spellItem.Validated += new ValidationEventHandler(spellItem_Validated);
     AddItem(spellItem);
 }