[Question] love.handlers
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
[Question] love.handlers
I noted that love.run index a table stored in love.handlers with the event name and then calls the function it returns. What's exactly that table? Is love.keypressed just a shorthand for love.handlers.keypressed?. Thanks.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: [Question] love.handlers
love.handlers is a table of functions that conditionally call the associated callbacks. For example love.handlers.keypressed calls love.keypressed if it exists.
Who is online
Users browsing this forum: Ahrefs [Bot], Amazon [Bot], Bing [Bot] and 6 guests