private void MoveChange(Direction dir, InputEvent e) { _containerHud.Hide(); _inventoryGui.Hide(); if (e.KeyAction == KeyAction.Up) { RemoveMovement(dir); } else { AddMovement(dir); } }