private void OpenRoom(IGameContext context, IItem door, IItem key) { _consoleWriter.WriteToConsole(door.InteractWith(context)); _roomStateManager.OpenRoom(context.GetRoom(door.BlocksPathTo())); context.GetPlayer().UseFromInventory(key); }