jong/src/game/player.rs

18 lines
273 B
Rust
Raw Normal View History

2026-01-08 23:58:26 -08:00
use bevy::prelude::*;
2026-01-11 20:10:30 -08:00
use crate::{
2026-01-12 01:54:59 -08:00
game::wall::{InWall, Wall},
2026-01-11 20:10:30 -08:00
tiles::Tile,
};
2026-01-08 23:58:26 -08:00
#[derive(Component)]
pub(crate) struct Player {
pub(crate) name: String,
}
2026-01-11 20:10:30 -08:00
fn spawn_players(mut commands: Commands) {}
2026-01-08 23:58:26 -08:00
#[derive(Component)]
pub(crate) struct Points(pub isize);
2026-01-11 20:10:30 -08:00