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

This commit is contained in:
3 changed files with 43 additions and 16 deletions
+16 -3
View File
@@ -17,14 +17,27 @@ fn main() {
}),
)
.insert_resource(ClearColor(Color::srgb(0.3, 0.6, 0.8)))
.add_systems(Startup, (startup,))
// .add_systems(PostStartup, snake_game::debug::print_all_entities)
.add_systems(
Startup,
(
|| {}, //
startup,
snake_game::debug::set_initial_time_speed_to_slow_and_pause,
),
)
.add_systems(
PostStartup,
(
|| {},
// snake_game::debug::print_all_entities,
),
)
.add_systems(Update, (head_rotation,))
.add_systems(FixedUpdate, (snake_moving,))
.add_systems(
PostUpdate,
(
//
|| {}, //
snake_game::debug::print_all_entities_by_press_enter,
snake_game::debug::time_speed,
),