Re: Representing 3d Staircases? (Python)
Ah. I see. The question you're trying to ask is about abstraction, but you're phrasing it as about data.
The three arrays go in a CompressedArray class with a .get and a .set method and whatever else you want on it, then you use it wherever you want a compressed list of things.
You can also test and work on that separately from everything else, if you do it that way. It's an entirely separate module if you want it to be. Break problems down into their smallest component (in this case making a compressed list), then put the resulting pieces together. You can use it for 2d maps too this way, as well.
Does this help?
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector