jong/src/game/player.rs

18 lines
251 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)]
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;