Function xp_to_draw_batch

Source
pub fn xp_to_draw_batch(
    xp: &XpFile,
    draw_batch: &mut DrawBatch,
    offset_x: i32,
    offset_y: i32,
)
Expand description

Applies an XpFile to a given draw batch, with 0,0 offset by offset_x and offset-y.