Re: Procedural design patterns?
- Posted by useless_ Sep 26, 2013
- 2056 views
You could "wrap" the characters in a timeslice using task.e, this would reuse the same code for each character, and keep separate variables for each. Of course you'll need task messaging if you want the monster char to tell the human he just got bit, where, and how much. Or tell the sword object that it's length is now half. I quit working on it when someone else began working on it, and made my code useless.
useless