kubi/kubi-shared/src/blocks.rs

13 lines
196 B
Rust
Raw Normal View History

use bincode::{Encode, Decode};
2023-01-29 19:45:35 -06:00
use strum::EnumIter;
#[derive(Encode, Decode, Clone, Copy, Debug, PartialEq, Eq, EnumIter)]
2023-01-29 19:45:35 -06:00
#[repr(u8)]
pub enum Block {
Air,
Stone,
Dirt,
Grass,
Sand,
}