Update Input Buffer Key

To cache input key in InputBufferComponent use this function

Key param is defined as enum value E_InputBufferKey

Whenever player wants to process an action through input buffer, instead of calling it directly he should cache input key.

Then Input Buffer Component checks if its open

  • If it is open -> then it waits with processing that key till it close
  • If it is close -> then it process that key immediately

On closing, input buffer triggers an event that player can react to choosing action to do based on cached key.