Проектная работа - WIP
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use bevy::prelude::*;
|
||||
use snake_game::{check_bounds_colisions, head_moving, head_rotation, setup_window, snake_moving, startup};
|
||||
use snake_game::{check_bounds_colisions, check_meal_collisions, check_tail_colisions, head_moving, head_rotation, setup_window, snake_moving, startup};
|
||||
|
||||
fn main() {
|
||||
App::new()
|
||||
@@ -47,6 +47,8 @@ fn main() {
|
||||
(
|
||||
|| {}, //
|
||||
check_bounds_colisions,
|
||||
check_tail_colisions,
|
||||
check_meal_collisions,
|
||||
snake_game::debug::print_all_entities_by_press_enter,
|
||||
snake_game::debug::time_speed,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user