diff --git a/LICK/lib/hlpr.lua b/LICK/lib/hlpr.lua index 0529b09..13ded41 100644 --- a/LICK/lib/hlpr.lua +++ b/LICK/lib/hlpr.lua @@ -8,7 +8,16 @@ sin = math.sin deg = math.deg rad = math.rad +State = State or {} +function declare(t) + for i,v in pairs(t) do + if not State[i] then + State[i] = v + _G[i] = State[i] + end + end +end require "LICK/lib/color" module(...,package.seeall)