Beispiel #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);
 }
Beispiel #2
0
 static {
   ModernSpells.register();
   AncientSpells.register();
   LunarSpells.register();
 }