Class SpellBuilder

  • public class SpellBuilder
    extends java.lang.Object
    Spells are identified by their name in the CR, not by their integer ID. This class is for building a string before its name is known. After a name is set, the real Spell object can be constructed using the construct() method.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addAttribute​(java.lang.String key, java.lang.String value)  
      Spell construct()
      Creates a Spell object after it has been completely constructed
      java.lang.String getName()
      Returns the set name or null.
      void setBlockID​(int id)  
      void setComponents​(java.util.Map<java.lang.String,​java.lang.String> components)  
      void setDescription​(java.lang.String description)  
      void setIsFamiliar​(boolean isFamiliar)  
      void setIsFar​(boolean far)  
      void setLevel​(int level)  
      void setLocale​(java.util.Locale locale)  
      void setName​(java.lang.String name)  
      void setOnOcean​(boolean onOcean)  
      void setOnShip​(boolean onShip)  
      void setRank​(int rank)  
      void setSyntax​(java.lang.String syntax)  
      void setType​(java.lang.String type)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait