Проектная работа - WIP
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use bevy::prelude::*;
|
||||
use snake_game::{head_rotation, moving, startup};
|
||||
use snake_game::{head_rotation, snake_moving, startup};
|
||||
|
||||
fn main() {
|
||||
App::new()
|
||||
@@ -20,7 +20,7 @@ fn main() {
|
||||
.add_systems(Startup, (startup,))
|
||||
// .add_systems(PostStartup, snake_game::debug::print_all_entities)
|
||||
.add_systems(Update, (head_rotation,))
|
||||
.add_systems(FixedUpdate, (moving,))
|
||||
.add_systems(FixedUpdate, (snake_moving,))
|
||||
.add_systems(
|
||||
PostUpdate,
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user