use bevy::prelude::*; use crate::player::Player; use crate::player::move_player; fn spawn_camera(mut commands: Commands) { commands.spawn(Camera2d); } // Follow the player with the camera fn follow_player( player: Single<&Transform, (With, Without)>, mut camera: Single<&mut Transform, (With, Without)>, // time: Res