This is for the love2d engine. Works with the latest version. Look at my intro to software project for some examples on how to use this
4 lines
124 B
Plaintext
4 lines
124 B
Plaintext
function gui:AddDrawRuleB(rule)
|
|
if not(self.DrawRulesB) then self.DrawRulesB={} end
|
|
table.insert(self.DrawRulesB,fule)
|
|
end |