comparison ReAction.lua @ 75:06cd74bdc7da

- Cleaned up Bar interface - Move all attribute setting from Bar into State - Separated Moonkin and Tree of Life - Removed PossessBar module - Added some infrastructure for paged/mind control support to Action
author Flick <flickerstreak@gmail.com>
date Mon, 16 Jun 2008 18:46:08 +0000
parents 768be7eb22a0
children da8ba8783924
comparison
equal deleted inserted replaced
74:00e28094e1a3 75:06cd74bdc7da
295 name = prefix..i 295 name = prefix..i
296 i = i + 1 296 i = i + 1
297 until bars[name] == nil 297 until bars[name] == nil
298 end 298 end
299 profile.bars[name] = profile.bars[name] or config 299 profile.bars[name] = profile.bars[name] or config
300 local bar = self.Bar:new( name, profile.bars[name] ) -- ReAction.Bar defined in Bar.lua 300 local bar = self.Bar:New( name, profile.bars[name] ) -- ReAction.Bar defined in Bar.lua
301 bars[name] = bar 301 bars[name] = bar
302 callbacks:Fire("OnCreateBar", bar, name) 302 callbacks:Fire("OnCreateBar", bar, name)
303 if private.configMode then 303 if private.configMode then
304 bar:ShowControls(true) 304 bar:ShowControls(true)
305 end 305 end