Проектная работа - WIP

голова змеи и ее вращение
This commit is contained in:
6 changed files with 113 additions and 29 deletions
+12
View File
@@ -0,0 +1,12 @@
use bevy::ecs::component::Component;
pub mod constants {
pub const FRAMES_PER_SECOND: u8 = 24;
pub const GRID_SIZE: u8 = 48;
pub const HEAD_SIZE: u8 = (GRID_SIZE as f32 * 1.1) as u8;
}
#[derive(Component)]
pub struct Head;