pub fn new(
        tile_id: u32,
        tileset_id: u8,
        flipx: bool,
        flipy: bool,
        diagonal_flip: bool,
    ) -> TileId {
        // If any of the top 3 bits of the tileset_id are stored, panic. We can't have
        // tileset ids that are larger than 29 bits due to the top 3 bits being reserved for
        // flip data
        TileId(
            tile_id + 1,
            TileMetaData::new(tileset_id, flipx, flipy, diagonal_flip),
        )
    }
// Input the tile id here as is found in tiled
Input the tile id here as is found in tiled
Input the tile id here as is found in tiled
pub fn new(
        tile_id: u32,
        tileset_id: u8,
        flipx: bool,
        flipy: bool,
        diagonal_flip: bool,
    ) -> TileId {
        // If any of the top 3 bits of the tileset_id are stored, panic. We can't have
        // tileset ids that are larger than 29 bits due to the top 3 bits being reserved for
        // flip data
        TileId(
            tile_id + 1,
            TileMetaData::new(tileset_id, flipx, flipy, diagonal_flip),
        )
    }
pub fn new ( tile_id : u32 , tileset_id : u8 , flipx : bool , flipy : bool , diagonal_flip : bool , ) -> TileId { // If any of the top 3 bits of the tileset_id are stored, panic. We can't have // tileset ids that are larger than 29 bits due to the top 3 bits being reserved for // flip data TileId ( tile_id + 1 , TileMetaData :: new ( tileset_id , flipx , flipy , diagonal_flip ) , ) }
Input the tile id here as is found in tiled
Input the tile id here as is found in tiled
tile_id
u32
tileset_id
u8
flipx
bool
flipy
bool
diagonal_flip
bool
tile_id
u32
tileset_id
u8
flipx
bool
flipy
bool
diagonal_flip
bool