Esempio n. 1
0
 public SpellVariant(Spell spell) {
   this.spell = spell;
   this.name = spell.getName();
   this.category = spell.getCategory();
   this.description = spell.getDescription();
   this.material = spell.getMaterial();
   this.parameters = new String[0];
 }
Esempio n. 2
0
 @Test
 public void isInitializedCorrectly() {
   assertEquals(NAME, spell.getName());
   assertEquals(COST, spell.getCost());
   assertEquals(DESCRIPTION, spell.getDescription());
 }