Quantcast

Refactor OvaleData module.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-09-28 12:49:32
Author local date 2013-09-28 12:49:32 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-09-28 12:49:32
Committer local date 2013-09-28 12:49:32 +0000
Commit 11b234ce7c2ff720a9e5abe835c4e3ac387312ad
Tree b20b8f79df54a7d2ba7ce2a73f3ba99e2ab4cafc
Parent cd2e7bbcdd5012a85f29c97f8960962a5032f372
Refactor OvaleData module.

- Move the spellbook/talent/glyph-handling to a new module OvaleSpellBook.

- Move methods closer to the place where they are mostly used:
  - :GetTickLength() moved to OvaleAura.
  - :GetDuration() moved to OvaleState, with simplifications.

- Simplify OvaleData into a module without dependencies that can be used
  as a global data store for other modules where needed.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1034 d5049fe3-3747-40f7-a4b5-f36d6801af5f