diff --git a/changelog.txt b/changelog.txt index 847bcb9..f01cf00 100644 --- a/changelog.txt +++ b/changelog.txt @@ -7,6 +7,7 @@ Version 0.9.7.1 - Alpha (Release Date TBD) [ADDED] a new tooltip method: GetFollowCursor() [ADDED] a new tooltip method: GetObject() [ADDED] a new tooltip method: GetFont() +[ADDED] a new tooltip method: GetFollowObject() [CHANGED] Moved library files to /libraries [CHANGED] Upgraded to middleclass 3.0.1 diff --git a/objects/internal/tooltip.lua b/objects/internal/tooltip.lua index 0cf80eb..9481db3 100644 --- a/objects/internal/tooltip.lua +++ b/objects/internal/tooltip.lua @@ -357,4 +357,15 @@ function newobject:SetFollowObject(bool) self.followobject = bool +end + +--[[--------------------------------------------------------- + - func: GetFollowObject() + - desc: gets whether or not the tooltip should follow + its assigned object +--]]--------------------------------------------------------- +function newobject:GetFollowObject() + + return self.followobject + end \ No newline at end of file