Lua has 2 different type of notations. Since it's not an object oriented language, you can think of . like a class method, and : like an instance method. So love.load() vs love:load(). Lua basically determines what self is based on how you call the functions (if that makes sense)..
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Lua has 2 different type of notations. Since it's not an object oriented language, you can think of
.
like a class method, and:
like an instance method. Solove.load()
vslove:load()
. Lua basically determines whatself
is based on how you call the functions (if that makes sense)..