kikito wrote::neko: I'm glad I can help. Stateful is the next thing I'll update - either this week or the next one.
Stateful = require 'stateful.stateful'
kikito wrote:Hi technocat,
I'm afraid that I haven't been able to release it yet. Sorry about that. I've been a bit ill and real life had me working on other things.
It's approaching completion, though. The main functionality is already there - only secondary stuff is left (for example, callbacks are not invoked when popAllStates is called; isInState isn't implemented, and states are not included in mixins - althought I might leave that one out)
local Shmup = class('Shmup')
TechnoCat wrote:Do class declarations have to be global?
TechnoCat wrote:I tried doing this and it keeps giving me an upvalue boolean error when I require it in another file and do :new on the returned object.
local inspect = require 'inspect'
local Shmup = require 'Shmup'
Users browsing this forum: No registered users and 4 guests