Primary input now activated from control actions.

Moved a lot of key_state to a HashSet so that it is handled automatically.
This commit is contained in:
Sam
2021-03-05 01:09:56 -05:00
parent b0a41704da
commit c6d8daaae3
12 changed files with 488 additions and 367 deletions

View File

@ -350,6 +350,10 @@ impl<'a> System<'a> for Sys {
local_emitter.append(&mut state_update.local_events);
server_emitter.append(&mut state_update.server_events);
join_struct
.controller
.queued_inputs
.append(&mut state_update.queued_inputs);
incorporate_update(&mut join_struct, state_update);
}
}