Quantcast

Improve encapsulation of OvaleData.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-03-12 04:47:23
Author local date 2013-03-12 04:47:23 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-03-12 04:47:23
Committer local date 2013-03-12 04:47:23 +0000
Commit 640798cfe92af977690ef30a9e6b34d983a67370
Tree 5b321359f9a69d0b942a6dc325576cd8b106494a
Parent 143d1e9a36fa595cfc4a9a15c463964b00881df2
Improve encapsulation of OvaleData.

Split out OvaleData:GetComputedSpellCD() into a new method GetSpellCD()
which queries the Blizzard API, and a second portion moved to
OvaleState:GetComputedSpellCD() that checks the frame state for any spell
CDs found there.  This de-couples OvaleData from OvaleState.

Use OvaleState:GetComputedSpellCD() in place of the removed
OvaleData:GetComputedSpellCD() in the various Ovale modules.

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