Next I changed the school into purely an array, rather than
having individual variables for every room.
I'll need to use the map for reference more, but I needed to do that
anyway for a lot of rooms before this, so it doesn't matter too much.
Then, lots of code cleanup and bug fixing. All minor things that caused no trouble, just
lots of quick little things to fix. I've
also recoded a few variables into enums, but since AS3 doesn't support enums,
it requires a lot of extra custom code.
But I think that's ok; after all, I do believe I said last time (or at
least I'm saying it now) that readability is far more important than efficiency
at this point.
No comments:
Post a Comment