diff --git a/objects/internal/treenode.lua b/objects/internal/treenode.lua index 23389bd..0b690dc 100644 --- a/objects/internal/treenode.lua +++ b/objects/internal/treenode.lua @@ -259,4 +259,14 @@ function newobject:SetOpen(bool) self.open = bool return self +end + +--[[--------------------------------------------------------- + - func: GetOpen() + - desc: gets whether or not the object is open +--]]--------------------------------------------------------- +function newobject:GetOpen() + + return self.open + end \ No newline at end of file