Commit faa2b0c0

– do not always recalculate positions and rotations even if nothing changes
– introduce the concept of object dimensions, orientation (WiP) and isStatic

This introduces the concept of logical object dimensions. This had to be done as objects that do not happen to be chairs may have dimensions other than 1 by 1 tiles.
This also means that depending on that size they have to have some sort of offset calculated when positioning them on a field of tiles.
It also adds the notion of “static” objects which do, well, nothing except just existing and minding their own business. In other words, that means they will quit the tick function right after entering it.

Leave a Reply

Your email address will not be published. Required fields are marked *