private bool HoldDownPress(InputDirection direction)
{
// returns true if there is a hold down press for this frame.
if (_lastPressedDirection == direction)
{
_pressedDirectionDelay -= 0.1f;
if (_pressedDirectionDelay <= 0.0f)
{
_pressedDirectionDelay = RESET_PRESSED_DIRECTION_DELAY;
return true;
}
}
return false;
}