Initialization methods?
-
Is there a way to have an initialization function called on an object the first time it's made? This probably can be done manually for things I made, but what about the initial Spawn?
Something like this is what I'd like:
Spawn.prototype.init = function() { this.memory.guards = []; }