12 lines
192 B
Rust
12 lines
192 B
Rust
use bevy::prelude::*;
|
|
|
|
#[derive(Component, Debug)]
|
|
pub struct Player {
|
|
pub name: String,
|
|
}
|
|
|
|
#[derive(Component)]
|
|
pub struct Points(pub isize);
|
|
|
|
#[derive(Component)]
|
|
pub struct MainPlayer;
|