Add cls function

This commit is contained in:
Robert Miles 2018-08-02 07:25:03 -04:00
parent 6c95899ad0
commit b04953c3d2
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@ local function rect(x,y,w,h,c)
return callGraphic("rectangle","line",x,y,w,h)
end
local function cls(c)
rectfill(0,0,255,243,c)
end
api.rectfill = rectfill
api.rect = rect