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

This commit is contained in:
4 changed files with 64 additions and 48 deletions
+4 -4
View File
@@ -1,9 +1,9 @@
use bevy::prelude::*;
use crate::domain::{Direction, GRID_SIZE, GridBarier, Head, Inert, SnakePath, Velocity};
mod tools;
use tools::*;
use crate::{
domain::{Direction, GRID_SIZE, GridBarier, Head, Inert, SnakePath, Velocity},
tools::split_by_grid,
};
/// Система поворота головы змеи
pub fn head_rotation(