finally Userdata() syntax, no more nasty CreateUserdata or Userdata.Create

This commit is contained in:
Evil Factory
2021-09-22 19:34:08 -03:00
parent 772edcfe5b
commit dac0734401
4 changed files with 51 additions and 16 deletions

View File

@@ -13,7 +13,7 @@ Signal = {}
--- Instantiates a new Signal.
-- @treturn Signal
-- @realm shared
function Signal.__new(stringValue, stepsTaken, characterSender, itemSource, power, strength) end
function Signal(stringValue, stepsTaken, characterSender, itemSource, power, strength) end
---
-- value, String value of the signal.