comparison ObjectiveTracker/Achievements.lua @ 35:69d03f8e293e

- separated layout and data logic between Frame.lua and Update.lua - solved disappearing tracker mystery
author Nenue
date Sun, 17 Apr 2016 11:07:48 -0400
parents 9856ebc63fa4
children e84d645c8ab8
comparison
equal deleted inserted replaced
34:9856ebc63fa4 35:69d03f8e293e
51 objectives[i] = line 51 objectives[i] = line
52 end 52 end
53 53
54 54
55 local rewards = {} 55 local rewards = {}
56 print('Cheevs.|cFF0088FFGetInfo|r('..watchIndex..')', 'obj:', GetAchievementNumCriteria(cheevID), name, description) 56 print(' |cFF0088FFGetInfo|r:', watchIndex, '|cFF00FFFF', name)
57 57
58 c.rewardInfo = rewards 58 c.rewardInfo = rewards
59 c.numObjectives = numObjectives 59 c.numObjectives = numObjectives
60 c.objectives = objectives 60 c.objectives = objectives
61 c.type = 'Cheevs' 61 c.type = 'Cheevs'