kezz101/HarryPotterSpells — pull request #36 by korikisulda (2012-08-10 18:18:04+00:00)
Title: Another tidyup,  just a lot more dramatic and with a few additions.

Removed the use of static, replaced with uses of instances. Added abstract spell class that spells extend, and a SpellManager class to facilitate the (potentially external) addition of spells dynamically. Unimplemented an as of yet unused spell annotation tag added that in future could be used for loading/saving config for individual spells, translation, and defining the default limits of each spell.

Keep in mind that while the basic functionality of this has been tested to work, this does contain bugs, particularly in relation so saving/loading from files.

It is important that this plugin is modular so that it is possible to quickly and easily add new content and is also easier to understand by other plugin developers who may wish to interact with this plugin.