11 lines
234 B
Rust
11 lines
234 B
Rust
use crate::glyph::Glyph;
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Clone, Copy, Debug, Default, Deserialize, Serialize)]
|
|
pub struct Tile {
|
|
pub active: bool,
|
|
pub glyph: Glyph,
|
|
pub flip_x: bool,
|
|
pub flip_y: bool,
|
|
}
|