Add tooltip:GetFollowObject

This commit is contained in:
Kenny Shields 2014-01-15 10:53:53 -05:00
parent d7964547fb
commit 8d65bf7f2d
2 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -358,3 +358,14 @@ 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