bracket_terminal/consoles/sprites/
sprite.rs

1use bracket_geometry::prelude::Rect;
2
3#[derive(Copy, Clone, Debug)]
4pub struct Sprite {
5    pub sheet_location: Rect,
6}
7
8impl Sprite {
9    pub fn new(sheet_location: Rect) -> Self {
10        Sprite { sheet_location }
11    }
12}