intent refactor

This commit is contained in:
Jonas H
2026-03-28 13:24:05 +01:00
parent c8142708f5
commit 75a046d92a
12 changed files with 310 additions and 70 deletions

View File

@@ -5,6 +5,11 @@ use crate::world::World;
pub fn player_input_system(world: &mut World, input_state: &InputState)
{
if !world.camera_is_following()
{
return;
}
let Some((_, camera)) = world.active_camera()
else
{