refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-23 12:45:23 +02:00
parent 99ba3e7fdc
commit deb85ad030
18 changed files with 169 additions and 152 deletions
+9 -3
View File
@@ -1,9 +1,15 @@
module 'core'
event_frame = CreateFrame 'Frame'
listeners = t
threads = t
public.thread_id = nil
mutable.listeners = t
mutable.threads = t
do
local thread_id
public.thread_id()
function accessor() return thread_id end
function mutator(value) thread_id = value end
end
function LOAD()
event_frame:SetScript('OnUpdate', UPDATE)