示例#1
0
 /**
  * Gets the magic spell for the given button id.
  *
  * @param buttonId The button id.
  * @return The magic spell.
  */
 public MagicSpell get(int buttonId) {
   ModernSpells.register();
   AncientSpells.register();
   LunarSpells.register();
   return spells.get(buttonId);
 }
示例#2
0
 static {
   ModernSpells.register();
   AncientSpells.register();
   LunarSpells.register();
 }