Default constructor
General attributes, such as vertical and horizontal mirroring. The extra 6 bits can be used for various purposes
Selects the palette for the bitmap if supported
Determines which tile is being used for the given instance. 0xFFFF is reserved for transparency.
Mapping element, that is used on most if not all layers in this engine. It reserves: * 16 bits for tile selection. * 6 bits for extra purposes (can be user defined if the layer doesn't use it for anything else). * 1 bit for vertical mirroring. * 1 bit for horizontal mirroring. * 8 bits for palette selection (can be used for user-defined purposes if tiles are either 16 or 32 bit). User defined purposes may include marking tiles with special purpose for the game logic.