save
Some checks failed
Rust Checks / checks (push) Failing after 48s

This commit is contained in:
CoCo_Sol 2024-03-31 17:57:30 +02:00
parent a8895963bf
commit c6b4c64067
2 changed files with 12 additions and 0 deletions

View file

@ -36,4 +36,7 @@ pub struct Player {
/// The uuid of the player.
pub uuid: Uuid,
/// The color of the player.
pub color: (u8, u8, u8),
}

View file

@ -0,0 +1,9 @@
//! All code related to the ownership of the tiles.
use bevy::prelude::*;
use crate::Player;
/// The owner of a tile.
#[derive(Component, Clone)]
pub struct Owner(pub Player);