mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-13 19:08:41 -06:00
12 lines
258 B
Rust
12 lines
258 B
Rust
use shipyard::Component;
|
|
use crate::block::Block;
|
|
|
|
pub const PLAYER_HEALTH: u8 = 20;
|
|
|
|
#[derive(Component)]
|
|
pub struct Player;
|
|
|
|
#[derive(Component, Clone, Copy, Debug, Default, PartialEq, Eq)]
|
|
#[repr(transparent)]
|
|
pub struct PlayerHolding(pub Option<Block>);
|