Skip to main content

write

Function write 

Source
pub fn write(access: Access<'_>, slot: u16, data: &Tile)
Expand description

Write one tile into slot.

ยงPanics

If slot is SLOT_COUNT or beyond, which would otherwise land in a tilemap. The check folds away when slot is a constant.