void SetInputState(Direction newDirection, PlayerInputChoice choice) { SetElapsedTime(); if (CheckTimeElaped()) { directionChange = newDirection; receivedInput = true; input = choice; SetLastTime(); } }
void Reset() { receivedInput = false; input = PlayerInputChoice.None; }