Проектная работа - WIP
This commit is contained in:
@@ -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,
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user