slot docs and rename

This commit is contained in:
Torsten Ruger
2015-06-21 00:21:42 +03:00
parent eeaf2d97de
commit 6867175bd1
9 changed files with 56 additions and 40 deletions

View File

@ -21,20 +21,24 @@ module Virtual
end
end
# named classes exist for slots that often accessed
# Return is the MessageSlot(MESSAGE_RETURN_VALUE)
class Return < MessageSlot
def initialize type = Unknown, value = nil
super( MESSAGE_RETURN_VALUE , type , value )
end
end
# Self is the MessageSlot(MESSAGE_SELF)
class Self < MessageSlot
def initialize type = Unknown, value = nil
super( MESSAGE_SELF , type , value )
end
end
# Name of the current message
class Name < MessageSlot
# MessageName of the current message
class MessageName < MessageSlot
def initialize type = Unknown, value = nil
super( MESSAGE_NAME , type , value )
end