jong/src/game/player.rs

13 lines
192 B
Rust
Raw Normal View History

2026-01-08 23:58:26 -08:00
use bevy::prelude::*;
2026-01-13 00:01:38 -08:00
#[derive(Component, Debug)]
2026-01-12 21:57:08 -08:00
pub struct Player {
pub name: String,
2026-01-08 23:58:26 -08:00
}
#[derive(Component)]
2026-01-12 21:57:08 -08:00
pub struct Points(pub isize);
2026-01-11 20:10:30 -08:00
2026-01-12 21:57:08 -08:00
#[derive(Component)]
pub struct MainPlayer;