Class NumberSpell


  • public class NumberSpell
    extends Spell
    Describes a numbered in-game spell.
    • Constructor Summary

      Constructors 
      Constructor Description
      NumberSpell​(@NotNull java.lang.String name, int number)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getNumber()
      Returns the spell number.
      • Methods inherited from class net.sf.gridarta.model.spells.Spell

        getName
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NumberSpell

        public NumberSpell​(@NotNull
                           @NotNull java.lang.String name,
                           int number)
        Creates a new instance.
        Parameters:
        name - the spell name
        number - the spell number
    • Method Detail

      • getNumber

        public int getNumber()
        Returns the spell number.
        Returns:
        the spell number