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

This commit is contained in:
7 changed files with 85 additions and 113 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
use bevy::prelude::*;
use snake_game::{head_rotation, snake_moving, startup};
use snake_game::{head_moving, head_rotation, snake_moving, startup};
fn main() {
App::new()
@@ -33,7 +33,7 @@ fn main() {
),
)
.add_systems(Update, (head_rotation,))
.add_systems(FixedUpdate, (snake_moving,))
.add_systems(FixedUpdate, (head_moving, snake_moving))
.add_systems(
PostUpdate,
(